diff options
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); }, |