mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Prevent NPE during migration, when profile key is null
This commit is contained in:
parent
21d62c4557
commit
3fc5bec149
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
+ ": "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue