]> nmode's Git Repositories - signal-cli/commitdiff
Log exception when saving file fails
authorAsamK <asamk@gmx.de>
Fri, 4 Feb 2022 14:43:20 +0000 (15:43 +0100)
committerAsamK <asamk@gmx.de>
Fri, 4 Feb 2022 14:43:20 +0000 (15:43 +0100)
lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java

index 862971c9f3ed8d20cf455d2a7a50490127e4514b..f0cdba2b8424bdd0818a2c2b85e5558da6b72c29 100644 (file)
@@ -768,7 +768,7 @@ public class SignalAccount implements Closeable {
                     fileChannel.force(false);
                 }
             } catch (Exception e) {
-                logger.error("Error saving file: {}", e.getMessage());
+                logger.error("Error saving file: {}", e.getMessage(), e);
             }
         }
     }