fix(sentry): resolve minified exception types on web release
This commit is contained in:
@@ -32,7 +32,7 @@ class ThreadDetailRepositoryImpl implements ThreadDetailRepository {
|
||||
.getThreadById(threadId, accountId);
|
||||
|
||||
if (originalEmailIds.isEmpty) {
|
||||
throw EmptyThreadDetailException();
|
||||
throw const EmptyThreadDetailException();
|
||||
}
|
||||
|
||||
final filteredEmailIds = await Future.wait(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:core/domain/exceptions/app_base_exception.dart';
|
||||
|
||||
class EmptyThreadDetailException extends AppBaseException {
|
||||
EmptyThreadDetailException([super.message]);
|
||||
const EmptyThreadDetailException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'EmptyThreadDetailException';
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ extension AddLabelToThreadExtension on ThreadDetailController {
|
||||
consumeState(
|
||||
Stream.value(Left(
|
||||
AddALabelToAThreadFailure(
|
||||
exception: LabelKeywordIsNull(),
|
||||
exception: const LabelKeywordIsNull(),
|
||||
labelDisplay: labelDisplay,
|
||||
),
|
||||
)),
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ extension RemoveLabelFromThreadExtension on ThreadDetailController {
|
||||
emitFailure(
|
||||
controller: this,
|
||||
failure: RemoveALabelFromAThreadFailure(
|
||||
exception: LabelKeywordIsNull(),
|
||||
exception: const LabelKeywordIsNull(),
|
||||
labelDisplay: labelDisplay,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user