Handle rate limit error in JSON-RPC mode

This commit is contained in:
AsamK 2023-11-05 16:20:33 +01:00
parent 8d423adb4d
commit 699b21f066
3 changed files with 25 additions and 14 deletions

View file

@ -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;
};
}
}