summaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2015-06-12 16:52:36 +0200
committerBenoit Foucher <benoit@zeroc.com>2015-06-12 16:52:36 +0200
commit31c9bffb12664cefc5020baf02871bf6449e24cd (patch)
tree12ed880f0cbbe4b4689e6901bcfff84093c5a6f0 /js/src
parentFix build issue with previous commit (diff)
downloadice-31c9bffb12664cefc5020baf02871bf6449e24cd.tar.bz2
ice-31c9bffb12664cefc5020baf02871bf6449e24cd.tar.xz
ice-31c9bffb12664cefc5020baf02871bf6449e24cd.zip
Don't throw RetryException if the failure occurs during connection establishement (ICE-6589)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/Ice/ConnectRequestHandler.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/js/src/Ice/ConnectRequestHandler.js b/js/src/Ice/ConnectRequestHandler.js
index 2d8067c6b4f..aed6381860c 100644
--- a/js/src/Ice/ConnectRequestHandler.js
+++ b/js/src/Ice/ConnectRequestHandler.js
@@ -86,17 +86,10 @@ var ConnectRequestHandler = Ice.Class({
out.__cancelable(this); // This will throw if the request is canceled
}
- try
- {
- if(!this.initialized())
- {
- this._requests.push(out);
- return AsyncStatus.Queued;
- }
- }
- catch(ex)
+ if(!this.initialized())
{
- throw new RetryException(ex);
+ this._requests.push(out);
+ return AsyncStatus.Queued;
}
return out.__invokeRemote(this._connection, this._compress, this._response);
},