mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Re-enable desired logging on framework error
This commit is contained in:
parent
fccd55ed0a
commit
4a44d038fb
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue