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

Replace logging.exception with logging.error #83

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

backmari
Copy link
Collaborator

@backmari backmari commented May 3, 2024

Short description of the changes:

Using logging.exception resulted in tests failing. Per the documentation, logging.exception should only be used inside exception handlers. Not sure why this was not failing before

Check list for the pull request

  • I have read the [CONTRIBUTING]
  • I have read the [CODE_OF_CONDUCT]
  • I have added tests for my changes
  • I have updated the documentation accordingly

Check list for the reviewer

  • I have read the [CONTRIBUTING]
  • I have verified the proposed changes
  • best software practices
    • all internal functions have an underbar, as is python standard
    • clearly named variables (better to be verbose in variable names)
    • code comments explaining the intent of code blocks
  • All the tests are passing
  • The documentation is up to date
  • code comments added when explaining intent

Manual test for the reviewer

References

@backmari backmari force-pushed the tmp_ci_test_marie branch from e400117 to 5b22aeb Compare May 3, 2024 12:14
@backmari backmari changed the title test CI Replace logging.exception with logging.error May 3, 2024
Copy link
Collaborator

@dmitry-ganyushin dmitry-ganyushin left a comment

Choose a reason for hiding this comment

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

Looks good

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.

2 participants