mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-25 10:04:23 +01:00
Throw error on failed authorization
- to exit signal-cli in case the number was registered elsewhere
This commit is contained in:
@@ -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