diff options
author | Benoit Foucher <benoit@zeroc.com> | 2015-06-12 16:52:36 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2015-06-12 16:52:36 +0200 |
commit | 31c9bffb12664cefc5020baf02871bf6449e24cd (patch) | |
tree | 12ed880f0cbbe4b4689e6901bcfff84093c5a6f0 /js/src | |
parent | Fix build issue with previous commit (diff) | |
download | ice-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.js | 13 |
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); }, |