Log errors with the stack trace
This commit is contained in:
parent
107c1b870e
commit
959f6cd27e
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ void _main() async {
|
|||
}
|
||||
|
||||
void _sync() async {
|
||||
SyncService.instance.sync().catchError((e) {
|
||||
_logger.warning(e);
|
||||
SyncService.instance.sync().catchError((e, s) {
|
||||
_logger.severe("Sync error", e, s);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue