How about a less cringe-worthy double-failure message?

This commit is contained in:
Brian Anderson 2014-06-05 10:21:35 -07:00
parent 57e7147f3e
commit b45553f075
1 changed files with 1 additions and 3 deletions

View File

@ -387,9 +387,7 @@ fn begin_unwind_inner(msg: Box<Any:Send>,
// just abort. In the future we may consider resuming
// unwinding or otherwise exiting the task cleanly.
if task.unwinder.unwinding {
rterrln!("task failed during unwinding (double-failure - \
total drag!)")
rterrln!("rust must abort now. so sorry.");
rterrln!("task failed during unwinding. aborting.");
// Don't print the backtrace twice (it would have already been
// printed if logging was enabled).