This review is from Crev, a distributed system for code reviews. To add your review, set up cargo-crev.

The current version of console_error_panic_hook is 0.1.7.

0.1.6 (older version) Rating: Positive Thoroughness: Medium Understanding: High

by Michael-F-Bryan on 2019-10-12

The implementation is rather straight-forward. It uses std::panic::set_hook() to install a panic hook which uses console.error() from JavaScript to log a panic and the backtrace retrieved by creating a new Error().

The code is also thoroughly documented using both rustdocs and comments and explains possible edge cases due to browser differences.


This review is from cargo-vet. To add your review, set up cargo-vet and submit your URL to its registry.

The current version of console_error_panic_hook is 0.1.7.

cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.

unknown

May have been packaged automatically without a review


Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories. There is absolutely no guarantee that the repository URL declared by the crate belongs to the crate, or that the code in the repository is the code inside the published tarball.

To review the actual code of the crate, it's best to use cargo crev open console_error_panic_hook. Alternatively, you can download the tarball of console_error_panic_hook v0.1.7 or view the source online.