fix(sentry): resolve minified exception types on web release

This commit is contained in:
dab246
2026-03-03 11:43:45 +07:00
committed by Dat H. Pham
parent 2e8a11e7eb
commit 437c46f5ff
53 changed files with 133 additions and 109 deletions
@@ -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();
}
}