summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 4417c13ef..7948dca0a 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -97,7 +97,7 @@ impl Serialize for WorkerControlEvent {
let value = match error.downcast_ref::<JsError>() {
Some(js_error) => {
let frame = js_error.frames.iter().find(|f| match &f.file_name {
- Some(s) => !s.trim_start_matches('[').starts_with("internal:"),
+ Some(s) => !s.trim_start_matches('[').starts_with("ext:"),
None => false,
});
json!({