Skip to content

Commit

Permalink
convert POST timeout to ConnectException
Browse files Browse the repository at this point in the history
  • Loading branch information
kevodwyer committed Sep 16, 2024
1 parent 2d58993 commit 2df3f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/priors/gwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function postProm(url, data, timeout) {
};

req.ontimeout = function() {
reject(Error("Network timeout"));
future.completeExceptionally(new java.net.ConnectException("Unable to connect"));
};

req.send(data);
Expand Down

0 comments on commit 2df3f6f

Please sign in to comment.