-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[#4006] replace logger.warning
with warn_or_error
#4019
[#4006] replace logger.warning
with warn_or_error
#4019
Conversation
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, don't hesitate to ping @drewbanin. CLA has not been signed by users: @laxjesse |
logger.warning
with warn_or_error
logger.warning
with warn_or_error
I'm not totally sure where (or if I even should!) be adding info in
checking with my company to make sure they won't yell at me for signing this |
@laxjesse You can add a changelog entry under As soon as you can sign the CLA, I can give this PR a review! Looking good from a first glance. |
84ebad6
to
62f775a
Compare
Uses `warn_or_error` to log _or_ raise errors depending on arguments passed.
62f775a
to
1147aa0
Compare
I might be wrong but I don't believe that this error is related to this change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laxjesse You're right, that's an unrelated error related to some dbt-rpc code we're in the process of moving around. It looks like all the actual tests passed, so we can safely ignore that error message for the time being.
This change LGTM! Thanks for the contribution :)
Uses `warn_or_error` to log _or_ raise errors depending on arguments passed. automatic commit by git-black, original commits: 47033c4
resolves #4006
Description
Uses
warn_or_error
to log or raise errors depending on arguments passed.It wasn't 100% clear to me if there should be a test for this or not but I'm happy to add if there should be.
Checklist
CHANGELOG.md
and added information about my change to the "dbt next" section.