Skip to content
New issue

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

pretty-print panics #118

Merged
merged 1 commit into from
May 2, 2018
Merged

Conversation

yoshuawuyts
Copy link
Contributor

Heya!

This PR adds human-panic, a pretty-printer & report generator for panics. I figured since this crate is targeted at Rust folks from all skill levels, it might be useful to make sure that we display friendly messages even if an unexpected error occurs.

I've also opened a sibling issue on quicli (killercup/quicli#75) to discuss if it might make sense to include by default.

Hope this PR is useful!

Refs

@sendilkumarn
Copy link
Member

Does it also have inbuilt emoji support 😉

Copy link
Member

@sendilkumarn sendilkumarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mgattozzi
Copy link
Contributor

@yoshuawuyts few quick questions:
Is this on stable or nightly? (Not that it matters much since we're using wasm32)
It works by grabbing authorship data from Cargo.toml right?

@yoshuawuyts
Copy link
Contributor Author

@mgattozzi it should work on stable!

Copy link
Contributor

@mgattozzi mgattozzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Also looks like it grabs meta-data from the Cargo.toml so this LGTM, but @ashleygwilliams will be the one who determines whether she wants this or not!

@ashleygwilliams
Copy link
Member

great addition @yoshuawuyts ! thanks so much for this <3

@ashleygwilliams ashleygwilliams merged commit 78bdf91 into rustwasm:master May 2, 2018
@mgattozzi mgattozzi added this to the 0.3.0 milestone May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants