diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-22 23:30:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 23:30:03 +0200 |
commit | 68fd7a927b26c3e72cf73515821450f3aa252014 (patch) | |
tree | 61536703a37c1584eef8f69f954418a68f9533f8 /cli/source_maps.rs | |
parent | cf0c49191e9be862027f74f39318a3479fce3ba2 (diff) |
refactor(core): support error stack, remove js_check (#7629)
This commit adds support for stack traces in "deno_core".
Implementation of "Display" trait for "JsError" has been updated
and in consequence "deno_core::js_check" became obsolete and
removed.
Diffstat (limited to 'cli/source_maps.rs')
-rw-r--r-- | cli/source_maps.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/source_maps.rs b/cli/source_maps.rs index 1e7a14a0e..4744482a7 100644 --- a/cli/source_maps.rs +++ b/cli/source_maps.rs @@ -78,6 +78,7 @@ pub fn apply_source_map<G: SourceMapGetter>( start_column, end_column, frames: js_error.frames.clone(), + stack: None, } } @@ -204,6 +205,7 @@ mod tests { start_column: Some(16), end_column: None, frames: vec![], + stack: None, }; let getter = MockSourceMapGetter {}; let actual = apply_source_map(&e, &getter); |