diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-04-13 15:41:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 16:41:39 +0200 |
commit | 7d50a5fd4342969d261017b7a6dd0d0528e99a77 (patch) | |
tree | b9aa868213c082e189c6529351e195dee3f8a8aa /runtime/web_worker.rs | |
parent | c03fbb3c1f58868e079a9bf21f8351ad599ea7b5 (diff) |
refactor(core/error): Clarify JsError message fields (#14269)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 014b3e738..5d416b935 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -92,7 +92,7 @@ impl Serialize for WorkerControlEvent { | WorkerControlEvent::Error(error) => { let value = match error.downcast_ref::<JsError>() { Some(js_error) => json!({ - "message": js_error.message, + "message": js_error.exception_message, "fileName": js_error.script_resource_name, "lineNumber": js_error.line_number, "columnNumber": js_error.start_column, |