Skip to content

Commit

Permalink
HTTP 500 is no longer expected
Browse files Browse the repository at this point in the history
  • Loading branch information
rnegron committed Feb 19, 2025
1 parent 061f030 commit 40d69f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/tools/create-rpc-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const createRpcClient = (event) => {
try {
res = await request(req);

if (res.status > 500) {
if (res.status >= 500) {
throw new Error('Unable to reach the RPC server');
}
if (res.content) {
Expand Down

0 comments on commit 40d69f9

Please sign in to comment.