mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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,
|
||||
CanGc::note(),
|
||||
) {
|
||||
Err(_) => {
|
||||
println!("error loading script {}", serialized_worker_url);
|
||||
Err(e) => {
|
||||
error!("error loading script {} ({:?})", serialized_worker_url, e);
|
||||
parent_event_loop_sender
|
||||
.send(CommonScriptMsg::Task(
|
||||
WorkerEvent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue