Compare commits

..

No commits in common. "67dafa615fd229fb905029082a3a30c2953844b3" and "65a0a294a6ae3de1e3ae81373e71f834a1c47799" have entirely different histories.

6 changed files with 10 additions and 10 deletions

View file

@ -108,7 +108,7 @@ class HistoryModel extends BaseModel {
} else { } else {
errorMessage = translate('app.unknown_error'); errorMessage = translate('app.unknown_error');
setStateView(ViewState.idle); setStateView(ViewState.idle);
_logger.e('An unknown error occurred', error: e); _logger.e('An unknown error occurred', e);
rethrow; rethrow;
} }
} }
@ -156,7 +156,7 @@ class HistoryModel extends BaseModel {
} else { } else {
errorMessage = translate('app.unknown_error'); errorMessage = translate('app.unknown_error');
setStateView(ViewState.idle); setStateView(ViewState.idle);
_logger.e('An unknown error occurred', error: e); _logger.e('An unknown error occurred', e);
rethrow; rethrow;
} }
} }

View file

@ -163,7 +163,7 @@ class LoginModel extends BaseModel {
errorMessage = translate('app.unknown_error'); errorMessage = translate('app.unknown_error');
_sessionService.logout(); _sessionService.logout();
setStateView(ViewState.idle); setStateView(ViewState.idle);
_logger.e('An unknown error occurred', error: e); _logger.e('An unknown error occurred', e);
rethrow; rethrow;
} }

View file

@ -77,7 +77,7 @@ class ProfileModel extends BaseModel {
setStateBoolValue(_configurationButtonLoading, false); setStateBoolValue(_configurationButtonLoading, false);
_sessionService.logout(); _sessionService.logout();
setStateBoolValue(_configurationButtonLoading, false); setStateBoolValue(_configurationButtonLoading, false);
_logger.e('An unknown error occurred', error: e); _logger.e('An unknown error occurred', e);
rethrow; rethrow;
} }
} }

View file

@ -152,9 +152,9 @@ class UploadModel extends BaseModel {
)) ))
?.files; ?.files;
} on PlatformException catch (e) { } on PlatformException catch (e) {
_logger.e('Unsupported operation', error: e); _logger.e('Unsupported operation', e);
} catch (ex) { } catch (ex) {
_logger.e('An unknown error occurred', error: ex); _logger.e('An unknown error occurred', ex);
} }
loadingPath = false; loadingPath = false;
@ -238,7 +238,7 @@ class UploadModel extends BaseModel {
errorMessage = translate('app.unknown_error'); errorMessage = translate('app.unknown_error');
setStateMessage(null); setStateMessage(null);
setStateView(ViewState.idle); setStateView(ViewState.idle);
_logger.e('An unknown error occurred', error: e); _logger.e('An unknown error occurred', e);
rethrow; rethrow;
} }
} }

View file

@ -433,10 +433,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: logger name: logger
sha256: "66cb048220ca51cf9011da69fa581e4ee2bed4be6e82870d9e9baae75739da49" sha256: "7ad7215c15420a102ec687bb320a7312afd449bac63bfb1c60d9787c27b9767f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.1" version: "1.4.0"
logging: logging:
dependency: transitive dependency: transitive
description: description:

View file

@ -26,7 +26,7 @@ dependencies:
provider: 6.0.5 provider: 6.0.5
stacked: 3.4.1 stacked: 3.4.1
get_it: 7.6.0 get_it: 7.6.0
logger: 2.0.1 logger: 1.4.0
shared_preferences: 2.2.0 shared_preferences: 2.2.0
http: 1.1.0 http: 1.1.0
validators: 3.0.0 validators: 3.0.0