mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-18 22:54:20 +01:00
Prevent NPE during migration, when profile key is null
This commit is contained in:
@@ -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
|
||||
+ ": "
|
||||
|
||||
Reference in New Issue
Block a user