Skip to content

Fix raising exceptions on filtered logs#3547

Open
Dreamsorcerer wants to merge 3 commits intogetpelican:mainfrom
Dreamsorcerer:patch-2
Open

Fix raising exceptions on filtered logs#3547
Dreamsorcerer wants to merge 3 commits intogetpelican:mainfrom
Dreamsorcerer:patch-2

Conversation

@Dreamsorcerer
Copy link

Fixes #3546.

# Avoid raising RuntimeError below if no log was emitted.
return

# __init__.py:main() catches this exception then does it's own critical log.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I'd just remove the exception handler from main() and let Python report it normally...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--fatal exits with no error or warning logged

1 participant