fix(sentry): resolve minified exception types on web release
This commit is contained in:
@@ -28,7 +28,7 @@ class QuotasAPI {
|
||||
if (getQuotaResponse?.list.isNotEmpty == true) {
|
||||
return getQuotaResponse!.list;
|
||||
} else {
|
||||
throw NotFoundQuotasException();
|
||||
throw const NotFoundQuotasException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import 'package:core/domain/exceptions/app_base_exception.dart';
|
||||
|
||||
class NotFoundQuotasException extends AppBaseException {
|
||||
NotFoundQuotasException([super.message]);
|
||||
const NotFoundQuotasException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'NotFoundQuotasException';
|
||||
}
|
||||
|
||||
class QuotasNotSupportedException extends AppBaseException {
|
||||
QuotasNotSupportedException([super.message]);
|
||||
const QuotasNotSupportedException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'QuotasNotSupportedException';
|
||||
|
||||
Reference in New Issue
Block a user