Use error! instead of warn! to get console output by default.

This commit is contained in:
Simon Sapin 2015-07-13 20:52:21 +02:00
parent 90dbd86ed7
commit e4dc608c0a

View file

@ -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!());