mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-13 22:53:45 +08:00
Log an exception properly
This commit is contained in:
@ -129,7 +129,7 @@ class StateContainer with ChangeNotifier {
|
||||
appState.numChanges = 0;
|
||||
notifyListeners();
|
||||
} catch (e, stacktrace) {
|
||||
Log.d("Failed to Sync");
|
||||
Log.e("Failed to Sync", ex: e, stacktrace: stacktrace);
|
||||
appState.syncStatus = SyncStatus.Error;
|
||||
notifyListeners();
|
||||
if (shouldLogGitException(e)) {
|
||||
|
Reference in New Issue
Block a user