mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Throw error on failed authorization
- to exit signal-cli in case the number was registered elsewhere
This commit is contained in:
parent
8574eb3f95
commit
78474453d7
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ public class Manager implements Signal {
|
|||
}
|
||||
} catch (AuthorizationFailedException e) {
|
||||
System.err.println("Authorization failed, was the number registered elsewhere?");
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue