fix(sentry): resolve minified exception types on web release
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'package:core/domain/exceptions/app_base_exception.dart';
|
||||
|
||||
class NotFoundDataWithThisKeyException extends AppBaseException {
|
||||
NotFoundDataWithThisKeyException([super.message]);
|
||||
const NotFoundDataWithThisKeyException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'NotFoundDataWithThisKeyException';
|
||||
|
||||
@@ -17,7 +17,7 @@ class LocalStorageManager {
|
||||
if (entry != null) {
|
||||
return entry.value;
|
||||
} else {
|
||||
throw NotFoundDataWithThisKeyException();
|
||||
throw const NotFoundDataWithThisKeyException();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class SessionStorageManager {
|
||||
if (entry != null) {
|
||||
return entry.value;
|
||||
} else {
|
||||
throw NotFoundDataWithThisKeyException();
|
||||
throw const NotFoundDataWithThisKeyException();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user