diff options
Diffstat (limited to 'cli/rt/10_dispatch_json.js')
-rw-r--r-- | cli/rt/10_dispatch_json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/rt/10_dispatch_json.js b/cli/rt/10_dispatch_json.js index 05b4d46ed..4b244081a 100644 --- a/cli/rt/10_dispatch_json.js +++ b/cli/rt/10_dispatch_json.js @@ -21,7 +21,7 @@ function unwrapResponse(res) { if (res.err != null) { - throw new (core.getErrorClass(res.err.kind))(res.err.message); + throw new (core.getErrorClass(res.err.className))(res.err.message); } util.assert(res.ok != null); return res.ok; |