Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upGetting started in the book should state how to get a backtrace #27428
Comments
steveklabnik
added
the
A-docs
label
Aug 13, 2015
This comment has been minimized.
This comment has been minimized.
kstep
commented
Aug 18, 2015
|
A better option may be not the full traceback by default, but just make panic point to user's code, not code from std, as Perl's Carp does, by unwinding stack trace up to the point where it goes out of "trusted" std code. |
This comment has been minimized.
This comment has been minimized.
kstep
commented
Aug 18, 2015
|
I know all the problems with unwinding, but it's already there when you print traceback anyway, why not make another step to users? |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Aug 18, 2015
steveklabnik
closed this
in
dbbcb43
Aug 18, 2015
This comment has been minimized.
This comment has been minimized.
|
Nice! Now it's at least documented. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mdinger commentedJul 31, 2015
This is the most annoying and most useless error message ever if you don't know how to get a backtrace. The docs should state how to get one. Without a backtrace it's only helpful if you already know where the error isn't always the case.
This:
Returns: