forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use # to denote line number in stack traces (denoland#6114)
This makes the URLs in stack traces actual URLs to the files. Before: https://deno.land/std/testing/asserts.ts:138:11 After: https://deno.land/std/testing/asserts.ts#138:11
- Loading branch information
Showing
19 changed files
with
56 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[WILDCARD] | ||
error: Uncaught TypeError: Cannot resolve extension for "[WILDCARD]config.json" with mediaType "Json". | ||
at getExtension ($deno$/compiler.ts:[WILDCARD]) | ||
at new SourceFile ($deno$/compiler.ts:[WILDCARD]) | ||
at Function.addToCache ($deno$/compiler.ts:[WILDCARD]) | ||
at buildSourceFileCache ($deno$/compiler.ts:[WILDCARD]) | ||
at compile ($deno$/compiler.ts:[WILDCARD]) | ||
at tsCompilerOnMessage ($deno$/compiler.ts:[WILDCARD]) | ||
at getExtension ($deno$/compiler.ts#[WILDCARD]) | ||
at new SourceFile ($deno$/compiler.ts#[WILDCARD]) | ||
at Function.addToCache ($deno$/compiler.ts#[WILDCARD]) | ||
at buildSourceFileCache ($deno$/compiler.ts#[WILDCARD]) | ||
at compile ($deno$/compiler.ts#[WILDCARD]) | ||
at tsCompilerOnMessage ($deno$/compiler.ts#[WILDCARD]) | ||
[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[WILDCARD]error: Uncaught BadResource: Bad resource ID | ||
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at Object.sendAsync ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at async main ([WILDCARD]tests/044_bad_resource.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]dispatch_json.ts#[WILDCARD]) | ||
at Object.sendAsync ([WILDCARD]dispatch_json.ts#[WILDCARD]) | ||
at async main ([WILDCARD]tests/044_bad_resource.ts#[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD]error: Uncaught Error: bad | ||
throw Error("bad"); | ||
^ | ||
at foo ([WILDCARD]tests/error_001.ts:2:9) | ||
at bar ([WILDCARD]tests/error_001.ts:6:3) | ||
at [WILDCARD]tests/error_001.ts:9:1 | ||
at foo ([WILDCARD]tests/error_001.ts#2:9) | ||
at bar ([WILDCARD]tests/error_001.ts#6:3) | ||
at [WILDCARD]tests/error_001.ts#9:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD]error: Uncaught Error: exception from mod1 | ||
throw Error("exception from mod1"); | ||
^ | ||
at throwsError ([WILDCARD]tests/subdir/mod1.ts:16:9) | ||
at foo ([WILDCARD]tests/error_002.ts:4:3) | ||
at [WILDCARD]tests/error_002.ts:7:1 | ||
at throwsError ([WILDCARD]tests/subdir/mod1.ts#16:9) | ||
at foo ([WILDCARD]tests/error_002.ts#4:3) | ||
at [WILDCARD]tests/error_002.ts#7:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[WILDCARD]error: Uncaught ReferenceError: consol is not defined | ||
consol.log("hello world!"); | ||
^ | ||
at [WILDCARD]tests/error_008_checkjs.js:2:1 | ||
at [WILDCARD]tests/error_008_checkjs.js#2:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
error: Uncaught TypeError: Cannot read property 'a' of undefined | ||
at file:///[WILDCARD]cli/tests/error_018_hide_long_source_js.js:2:206 | ||
at file:///[WILDCARD]cli/tests/error_018_hide_long_source_js.js#2:206 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD]Error: function | ||
at foo ([WILDCARD]tests/error_019_stack_function.ts:[WILDCARD]) | ||
at [WILDCARD]tests/error_019_stack_function.ts:[WILDCARD] | ||
at foo ([WILDCARD]tests/error_019_stack_function.ts#[WILDCARD]) | ||
at [WILDCARD]tests/error_019_stack_function.ts#[WILDCARD] | ||
error: Uncaught Error: function | ||
at foo ([WILDCARD]tests/error_019_stack_function.ts:[WILDCARD]) | ||
at [WILDCARD]tests/error_019_stack_function.ts:[WILDCARD] | ||
at foo ([WILDCARD]tests/error_019_stack_function.ts#[WILDCARD]) | ||
at [WILDCARD]tests/error_019_stack_function.ts#[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD]Error: constructor | ||
at new A ([WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD]) | ||
at [WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD] | ||
at new A ([WILDCARD]tests/error_020_stack_constructor.ts#[WILDCARD]) | ||
at [WILDCARD]tests/error_020_stack_constructor.ts#[WILDCARD] | ||
error: Uncaught Error: constructor | ||
at new A ([WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD]) | ||
at [WILDCARD]tests/error_020_stack_constructor.ts:[WILDCARD] | ||
at new A ([WILDCARD]tests/error_020_stack_constructor.ts#[WILDCARD]) | ||
at [WILDCARD]tests/error_020_stack_constructor.ts#[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD]Error: method | ||
at A.m ([WILDCARD]tests/error_021_stack_method.ts:[WILDCARD]) | ||
at [WILDCARD]tests/error_021_stack_method.ts:[WILDCARD] | ||
at A.m ([WILDCARD]tests/error_021_stack_method.ts#[WILDCARD]) | ||
at [WILDCARD]tests/error_021_stack_method.ts#[WILDCARD] | ||
error: Uncaught Error: method | ||
at A.m ([WILDCARD]tests/error_021_stack_method.ts:[WILDCARD]) | ||
at [WILDCARD]tests/error_021_stack_method.ts:[WILDCARD] | ||
at A.m ([WILDCARD]tests/error_021_stack_method.ts#[WILDCARD]) | ||
at [WILDCARD]tests/error_021_stack_method.ts#[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[WILDCARD]CustomError: custom error | ||
at [WILDCARD]tests/error_022_stack_custom_error.ts:[WILDCARD] | ||
at [WILDCARD]tests/error_022_stack_custom_error.ts#[WILDCARD] | ||
error: Uncaught CustomError: custom error | ||
at [WILDCARD]tests/error_022_stack_custom_error.ts:[WILDCARD] | ||
at [WILDCARD]tests/error_022_stack_custom_error.ts#[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[WILDCARD]Error: async | ||
at [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD] | ||
at [WILDCARD]tests/error_023_stack_async.ts#[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts#[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts#[WILDCARD] | ||
error: Uncaught Error: async | ||
at [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts:[WILDCARD] | ||
at [WILDCARD]tests/error_023_stack_async.ts#[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts#[WILDCARD] | ||
at async [WILDCARD]tests/error_023_stack_async.ts#[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[WILDCARD]Error: Promise.all() | ||
at [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] | ||
at [WILDCARD]tests/error_024_stack_promise_all.ts#[WILDCARD] | ||
at async Promise.all (index 0) | ||
at async [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] | ||
at async [WILDCARD]tests/error_024_stack_promise_all.ts#[WILDCARD] | ||
error: Uncaught Error: Promise.all() | ||
at [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] | ||
at [WILDCARD]tests/error_024_stack_promise_all.ts#[WILDCARD] | ||
at async Promise.all (index 0) | ||
at async [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] | ||
at async [WILDCARD]tests/error_024_stack_promise_all.ts#[WILDCARD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD]error: Uncaught Error: bad | ||
throw Error("bad"); | ||
^ | ||
at foo ([WILDCARD]tests/error_025_tab_indent:2:8) | ||
at bar ([WILDCARD]tests/error_025_tab_indent:6:2) | ||
at [WILDCARD]tests/error_025_tab_indent:9:1 | ||
at foo ([WILDCARD]tests/error_025_tab_indent#2:8) | ||
at bar ([WILDCARD]tests/error_025_tab_indent#6:2) | ||
at [WILDCARD]tests/error_025_tab_indent#9:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters