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
@ -137,6 +137,7 @@ public class Manager implements Signal {
|
|||||||
}
|
}
|
||||||
} catch (AuthorizationFailedException e) {
|
} catch (AuthorizationFailedException e) {
|
||||||
System.err.println("Authorization failed, was the number registered elsewhere?");
|
System.err.println("Authorization failed, was the number registered elsewhere?");
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user