diff options
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/10_dispatch_json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/10_dispatch_json.js b/cli/tsc/10_dispatch_json.js index a25014789..7989f5568 100644 --- a/cli/tsc/10_dispatch_json.js +++ b/cli/tsc/10_dispatch_json.js @@ -22,7 +22,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; |