From 2df3f6f625db3a29263ce58e96bdf19e9e052539 Mon Sep 17 00:00:00 2001 From: kevodwyer Date: Mon, 16 Sep 2024 15:05:00 +0100 Subject: [PATCH] convert POST timeout to ConnectException --- vendor/priors/gwt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/priors/gwt.js b/vendor/priors/gwt.js index 3b4ce7cd..5f32a653 100644 --- a/vendor/priors/gwt.js +++ b/vendor/priors/gwt.js @@ -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);