mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-04 21:20:39 +00:00
Handle rate limit error in JSON-RPC mode
This commit is contained in:
parent
8d423adb4d
commit
699b21f066
3 changed files with 25 additions and 14 deletions
|
@ -115,7 +115,7 @@ public class Main {
|
|||
case IOErrorException ioErrorException -> 3;
|
||||
case UntrustedKeyErrorException untrustedKeyErrorException -> 4;
|
||||
case RateLimitErrorException rateLimitErrorException -> 5;
|
||||
case null, default -> 2;
|
||||
case null -> 2;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue