We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The handleError() function in rapier_wasm3d_bg.js eats all errors silently, e.g.
handleError()
rapier_wasm3d_bg.js
world.forEachRigidBody(rb => { throw Error("foo"); })
That makes it hard to debug. An easy fix would be adding a console.error() line like
console.error()
function handleError(f, args) { try { return f.apply(this, args); } catch (e) { console.error(e); wasm.__wbindgen_exn_store(addHeapObject(e)); } }
I could not find handleError() in this repo, otherwise I'd have submitted a pull request.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
handleError()
function inrapier_wasm3d_bg.js
eats all errors silently, e.g.That makes it hard to debug. An easy fix would be adding a
console.error()
line likeI could not find
handleError()
in this repo, otherwise I'd have submitted a pull request.The text was updated successfully, but these errors were encountered: