Skip to content

Do not skip onwarn handler when --silent is used#2981

Merged
lukastaegert merged 3 commits intomasterfrom
gh-2686-silent-onwarn
Jul 4, 2019
Merged

Do not skip onwarn handler when --silent is used#2981
lukastaegert merged 3 commits intomasterfrom
gh-2686-silent-onwarn

Conversation

@lukastaegert
Copy link
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:
Resolves #2686

Description

This decouples the onwarn handler from the --silent option so that the handler is called even when the flag is used. The documentation is also updated to reflect this.

@filipesilva sorry this has taken so long considering it was a rather straightforward fix and had been on my mind for some time.

@filipesilva
Copy link

Thank you for taking the time to tackle this!

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.

Errors thrown inside onwarn are ignored with --silent

2 participants