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 = DSL::Builder.build
|
||||||
spec.run
|
spec.run
|
||||||
rescue ex
|
rescue ex
|
||||||
|
# Re-enable logger for fatal error.
|
||||||
|
::Log.setup_from_env
|
||||||
|
|
||||||
# Catch all unhandled exceptions here.
|
# Catch all unhandled exceptions here.
|
||||||
# Examples are already wrapped, so any exceptions they throw are caught.
|
# Examples are already wrapped, so any exceptions they throw are caught.
|
||||||
# But if an exception occurs outside an example,
|
# But if an exception occurs outside an example,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue