mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use error! instead of warn! to get console output by default.
This commit is contained in:
parent
90dbd86ed7
commit
e4dc608c0a
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ pub fn jsstring_to_str(cx: *mut JSContext, s: *mut JSString) -> DOMString {
|
|||
}
|
||||
}
|
||||
if ::util::opts::get().replace_surrogates {
|
||||
warn!(message!());
|
||||
error!(message!());
|
||||
s.push('\u{FFFD}');
|
||||
} else {
|
||||
panic!(message!());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue