]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/App.java
Prevent NPE during migration, when profile key is null
[signal-cli] / src / main / java / org / asamk / signal / App.java
index af3fea4c5e92c0dfbd5a83687f684473ea0bd59f..5c19a4034b8a0ae9be1c6b1b4a43b5d440ab675a 100644 (file)
@@ -241,6 +241,7 @@ public class App {
         } catch (NotRegisteredException e) {
             throw new UserErrorException("User " + username + " is not registered.");
         } catch (Throwable e) {
+            logger.debug("Loading state file failed", e);
             throw new UnexpectedErrorException("Error loading state file for user "
                     + username
                     + ": "