fix(sentry): resolve minified exception types on web release
This commit is contained in:
@@ -17,7 +17,7 @@ class GetServerSettingInteractor {
|
||||
final serverSetting = await _serverSettingsRepository.getServerSettings(accountId);
|
||||
final settingOption = serverSetting.settings;
|
||||
if (settingOption == null) {
|
||||
yield Left(GetServerSettingFailure(NotFoundSettingOptionException()));
|
||||
yield Left(GetServerSettingFailure(const NotFoundSettingOptionException()));
|
||||
} else {
|
||||
yield Right(GetServerSettingSuccess(settingOption));
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ class UpdateServerSettingInteractor {
|
||||
);
|
||||
final settingOption = serverSetting.settings;
|
||||
if (settingOption == null) {
|
||||
yield Left(UpdateServerSettingFailure(NotFoundServerSettingsException()));
|
||||
yield Left(UpdateServerSettingFailure(const NotFoundServerSettingsException()));
|
||||
} else {
|
||||
yield Right(UpdateServerSettingSuccess(settingOption));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user