mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make worker script errors more informative. (#35070)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
94bca310f7
commit
8bb50fa3c9
1 changed files with 2 additions and 2 deletions
|
@ -434,8 +434,8 @@ impl DedicatedWorkerGlobalScope {
|
||||||
global_scope,
|
global_scope,
|
||||||
CanGc::note(),
|
CanGc::note(),
|
||||||
) {
|
) {
|
||||||
Err(_) => {
|
Err(e) => {
|
||||||
println!("error loading script {}", serialized_worker_url);
|
error!("error loading script {} ({:?})", serialized_worker_url, e);
|
||||||
parent_event_loop_sender
|
parent_event_loop_sender
|
||||||
.send(CommonScriptMsg::Task(
|
.send(CommonScriptMsg::Task(
|
||||||
WorkerEvent,
|
WorkerEvent,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue