Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not go through try/catch cycle for "Logging" config value #166

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

lanorkin
Copy link
Contributor

LoggerMode is being get on every request, and if it is empty in config (common scenario), always goes through catch branch. This is a bit of pain during debugging, and also reduces performance a bit. Use TryParse overload instead, which will by parsing enum without exceptions

@marisks marisks merged commit 6f7f0fa into Geta:master Aug 29, 2019
@lanorkin lanorkin deleted the fix/config branch August 29, 2019 08:17
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.

None yet

2 participants