rustwasm / console_error_panic_hook

A panic hook for wasm32-unknown-unknown that logs panics with console.error
Apache License 2.0
320 stars 24 forks source link

Update readme to talk about Error.stackTraceLimit #11

Closed itsybitesyspider closed 5 years ago

itsybitesyspider commented 5 years ago

Stack traces from rust, including the example screenshots in the existing documentation (!), are often so full of stack frames from the panic mechanism itself and other generic platform functions that there is not enough information to identify where the error was triggered in user code. Hopefully this documentation will save time for the next person who has this problem.

itsybitesyspider commented 5 years ago

I didn't even know that cargo readme existed. I'll redo this. :)

itsybitesyspider commented 5 years ago

Yay