rm(force=true)
clobbers exception
#23150
Labels
domain:error handling
Handling of exceptions by Julia or the user
rm(force=true)
clobbers exception
#23150
MWE:
This reports a stacktrace pointing to the failed
uv_error
(because ofnonexisting
not existing), which should have been caught and discarded, and not to ourErrorException
:Printing
ex
after the call torm
still reports theErrorException
, so I guess the nestedtry ... catch
to implementrm
's force mode clobbers whatever global state contains the current active exception.Tested on 0.5, 0.6 and master.
The text was updated successfully, but these errors were encountered: