refactor(sentry): standardize exceptions to prevent Sentry minification
This commit is contained in:
@@ -146,7 +146,7 @@ class LabelController extends BaseController with LabelContextMenuMixin {
|
||||
log('LabelController::_createNewLabel:Label: $label');
|
||||
if (_createNewLabelInteractor == null) {
|
||||
consumeState(
|
||||
Stream.value(Left(CreateNewLabelFailure(InteractorNotInitialized()))),
|
||||
Stream.value(Left(CreateNewLabelFailure(const InteractorNotInitialized()))),
|
||||
);
|
||||
} else {
|
||||
consumeState(_createNewLabelInteractor!.execute(accountId, label));
|
||||
|
||||
Reference in New Issue
Block a user