open-rmf / rmf_site

Experimental visualizer for dense buildings in RMF
33 stars 13 forks source link

Add panic hook for debugging wasm builds #146

Closed luca-della-vedova closed 1 year ago

luca-della-vedova commented 1 year ago

New feature implementation

Implemented feature

Add a panic hook to help debugging wasm builds. With this change the panic error is propagated all the way to the web console, making debugging a lot easier.

Implementation follows the example from the crate