From 1f9d158bdc212e8cb15b92039c9cd11884c9708c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sat, 29 Feb 2020 18:04:10 +0000 Subject: refactor(cli/js): Replace constructError() with getErrorClass() (#4189) Flattens dispatch error handling to produce one less useless stack frame on op errors. --- cli/tests/error_004_missing_module.ts.out | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/tests/error_004_missing_module.ts.out') diff --git a/cli/tests/error_004_missing_module.ts.out b/cli/tests/error_004_missing_module.ts.out index 492aef0e6..8e9f7f925 100644 --- a/cli/tests/error_004_missing_module.ts.out +++ b/cli/tests/error_004_missing_module.ts.out @@ -1,6 +1,5 @@ [WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/bad-module.ts" from "[WILDCARD]/error_004_missing_module.ts" -[WILDCARD]errors.ts:[WILDCARD] +[WILDCARD]dispatch_json.ts:[WILDCARD] at NotFound ([WILDCARD]errors.ts:[WILDCARD]) - at constructError ([WILDCARD]errors.ts:[WILDCARD]) at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD]) at sendAsync[WILDCARD] ([WILDCARD]dispatch_json.ts:[WILDCARD]) -- cgit v1.2.3