mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578)
This commit is contained in:
parent
351b5036bf
commit
66258bfbbd
9 changed files with 53 additions and 16 deletions
|
@ -2108,9 +2108,12 @@ impl WebGLImpl {
|
|||
error!("JS backtrace from failed WebGL API:\n{}", backtrace);
|
||||
}
|
||||
}
|
||||
panic!(
|
||||
"Unexpected WebGL error: 0x{:x} ({}) [{:?}]",
|
||||
error, error, command
|
||||
// TODO(servo#30568) revert to panic!() once underlying bug is fixed
|
||||
log::warn!(
|
||||
"debug assertion failed! Unexpected WebGL error: 0x{:x} ({}) [{:?}]",
|
||||
error,
|
||||
error,
|
||||
command
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue