mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Panic when stringifying an primitive fails.
This should not happen.
This commit is contained in:
parent
ac111b96fd
commit
137845d47b
1 changed files with 1 additions and 2 deletions
|
@ -232,8 +232,7 @@ pub unsafe fn report_pending_exception(cx: *mut JSContext, dispatch_event: bool)
|
|||
}
|
||||
},
|
||||
_ => {
|
||||
error!("Uncaught exception: failed to stringify primitive");
|
||||
return;
|
||||
panic!("Uncaught exception: failed to stringify primitive");
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue