diff --git a/mobile/lib/modules/asset_viewer/services/image_viewer.service.dart b/mobile/lib/modules/asset_viewer/services/image_viewer.service.dart index 3a356c840..862dcfea1 100644 --- a/mobile/lib/modules/asset_viewer/services/image_viewer.service.dart +++ b/mobile/lib/modules/asset_viewer/services/image_viewer.service.dart @@ -84,8 +84,8 @@ class ImageViewerService { } return entity != null; } - } catch (e) { - debugPrint("Error saving file $e"); + } catch (error, stack) { + _log.severe("Error saving file ${error.toString()}", error, stack); return false; } }