Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

error backtraces not displayed #25

Open
ssfrr opened this issue Jun 25, 2018 · 2 comments
Open

error backtraces not displayed #25

ssfrr opened this issue Jun 25, 2018 · 2 comments

Comments

@ssfrr
Copy link
Collaborator

ssfrr commented Jun 25, 2018

Running @suppress error("wrongness") displays the red ERROR: wrongness, but doesn't display the backtrace. I'm a little confused by that because by the time the exception is being displayed we should be out of the finally block of the @suppress macro (https://github.com/JuliaIO/Suppressor.jl/blob/master/src/Suppressor.jl#L29-L37) so it doesn't seem like it should make a difference. Is there something weird with the way that errors are printed?

MWE:

julia> error("wrongness")
ERROR: wrongness
Stacktrace:
 [1] error(::String) at .\error.jl:21

julia> @suppress error("wrongness")
ERROR: wrongness

julia>
@iamed2
Copy link
Contributor

iamed2 commented Jun 25, 2018

Maybe JuliaLang/julia#26798 ?

@ssfrr
Copy link
Collaborator Author

ssfrr commented Jun 25, 2018

I believe that is only an issue on 0.7 using the new logging framework, this happens on 0.6 as well

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants