diff --git a/src/spec/dsl.cr b/src/spec/dsl.cr index bc199149a01c..357f9de95d54 100644 --- a/src/spec/dsl.cr +++ b/src/spec/dsl.cr @@ -272,6 +272,11 @@ module Spec maybe_randomize run_filters root_context.run + rescue ex + STDERR.print "Unhandled exception: " + ex.inspect_with_backtrace(STDERR) + STDERR.flush + @@aborted = true ensure finish_run end