mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-13 18:58:53 +01:00
Log stacktrace
This commit is contained in:
parent
c2c903f494
commit
2cb237375b
1 changed files with 3 additions and 2 deletions
|
@ -212,8 +212,9 @@ class ListAlbumBloc extends Bloc<ListAlbumBlocEvent, ListAlbumBlocState> {
|
|||
final results = await ListAlbum(
|
||||
FileRepo(fileDataSource), AlbumRepo(albumDataSrc))(ev.account);
|
||||
yield ListAlbumBlocSuccess(ev.account, results);
|
||||
} catch (e) {
|
||||
_log.severe("[_queryWithAlbumDataSource] Exception while request", e);
|
||||
} catch (e, stacktrace) {
|
||||
_log.severe(
|
||||
"[_queryWithAlbumDataSource] Exception while request", e, stacktrace);
|
||||
yield ListAlbumBlocFailure(ev.account, getState().albums, e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue