mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Throw error on failed authorization
- to exit signal-cli in case the number was registered elsewhere
This commit is contained in:
1 parent
8574eb3f95
commit
78474453d7
1 file changed
+1
@@ -137,6 +137,7 @@ public class Manager implements Signal {
|
||||
}
|
||||
} catch (AuthorizationFailedException e) {
|
||||
System.err.println("Authorization failed, was the number registered elsewhere?");
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user