chore(mobile): Add log when saving asset (#5259)

This commit is contained in:
PyKen 2023-11-22 12:55:51 +09:00 committed by GitHub
parent 8c2851fbc4
commit ff275ea175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}