Re-enable desired logging on framework error

This commit is contained in:
Michael Miller 2021-05-29 17:45:49 -06:00
parent fccd55ed0a
commit 4a44d038fb
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -71,6 +71,9 @@ module Spectator
spec = DSL::Builder.build
spec.run
rescue ex
# Re-enable logger for fatal error.
::Log.setup_from_env
# Catch all unhandled exceptions here.
# Examples are already wrapped, so any exceptions they throw are caught.
# But if an exception occurs outside an example,