Merge pull request 'Update dependency logger to v2' (#36) from renovate/logger-2.x into develop
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #36
This commit is contained in:
commit
67dafa615f
6 changed files with 10 additions and 10 deletions
|
@ -108,7 +108,7 @@ class HistoryModel extends BaseModel {
|
|||
} else {
|
||||
errorMessage = translate('app.unknown_error');
|
||||
setStateView(ViewState.idle);
|
||||
_logger.e('An unknown error occurred', e);
|
||||
_logger.e('An unknown error occurred', error: e);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ class HistoryModel extends BaseModel {
|
|||
} else {
|
||||
errorMessage = translate('app.unknown_error');
|
||||
setStateView(ViewState.idle);
|
||||
_logger.e('An unknown error occurred', e);
|
||||
_logger.e('An unknown error occurred', error: e);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -163,7 +163,7 @@ class LoginModel extends BaseModel {
|
|||
errorMessage = translate('app.unknown_error');
|
||||
_sessionService.logout();
|
||||
setStateView(ViewState.idle);
|
||||
_logger.e('An unknown error occurred', e);
|
||||
_logger.e('An unknown error occurred', error: e);
|
||||
rethrow;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class ProfileModel extends BaseModel {
|
|||
setStateBoolValue(_configurationButtonLoading, false);
|
||||
_sessionService.logout();
|
||||
setStateBoolValue(_configurationButtonLoading, false);
|
||||
_logger.e('An unknown error occurred', e);
|
||||
_logger.e('An unknown error occurred', error: e);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -152,9 +152,9 @@ class UploadModel extends BaseModel {
|
|||
))
|
||||
?.files;
|
||||
} on PlatformException catch (e) {
|
||||
_logger.e('Unsupported operation', e);
|
||||
_logger.e('Unsupported operation', error: e);
|
||||
} catch (ex) {
|
||||
_logger.e('An unknown error occurred', ex);
|
||||
_logger.e('An unknown error occurred', error: ex);
|
||||
}
|
||||
|
||||
loadingPath = false;
|
||||
|
@ -238,7 +238,7 @@ class UploadModel extends BaseModel {
|
|||
errorMessage = translate('app.unknown_error');
|
||||
setStateMessage(null);
|
||||
setStateView(ViewState.idle);
|
||||
_logger.e('An unknown error occurred', e);
|
||||
_logger.e('An unknown error occurred', error: e);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -433,10 +433,10 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: logger
|
||||
sha256: "7ad7215c15420a102ec687bb320a7312afd449bac63bfb1c60d9787c27b9767f"
|
||||
sha256: "66cb048220ca51cf9011da69fa581e4ee2bed4be6e82870d9e9baae75739da49"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.4.0"
|
||||
version: "2.0.1"
|
||||
logging:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -26,7 +26,7 @@ dependencies:
|
|||
provider: 6.0.5
|
||||
stacked: 3.4.1
|
||||
get_it: 7.6.0
|
||||
logger: 1.4.0
|
||||
logger: 2.0.1
|
||||
shared_preferences: 2.2.0
|
||||
http: 1.1.0
|
||||
validators: 3.0.0
|
||||
|
|
Loading…
Reference in a new issue