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

NEW: Allow logging exceptions separately to non-fatal errors (fixes #226) #229

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

kinglozzer
Copy link
Member

Fixes #226. It’s currently not possible to disable the logToFile() method without also disabling logging any exceptions which arise, which is obviously not great as they’ll then go un-reported.

This should be backward compatible, as the new exceptionLogger will just default to using the existing SilverStripe\Omnipay\Logger service config.

@bummzack bummzack merged commit d1ddbe7 into silverstripe:master Dec 15, 2020
@bummzack
Copy link
Collaborator

Looks good, thanks!

@bummzack
Copy link
Collaborator

Released as v3.1

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.

Improve logging options
2 participants