summaryrefslogtreecommitdiff
path: root/js/test/Ice/exceptions/Client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/exceptions/Client.js')
-rw-r--r--js/test/Ice/exceptions/Client.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/test/Ice/exceptions/Client.js b/js/test/Ice/exceptions/Client.js
index d0e75cf3a53..5defef53b5d 100644
--- a/js/test/Ice/exceptions/Client.js
+++ b/js/test/Ice/exceptions/Client.js
@@ -125,7 +125,8 @@
failCB,
function(ex)
{
- test(ex instanceof Ice.ConnectionLostException);
+ test(ex instanceof Ice.ConnectionLostException ||
+ ex instanceof Ice.UnknownException);
out.writeLine("ok");
}
);