Skip to content

fix: Combined logger exception/warning - #684

Merged
luisremis merged 2 commits into
mainfrom
fix/issue-408
May 19, 2026
Merged

luisremis merged 2 commits into
mainfrom
fix/issue-408

Conversation

@ad-claw000

Copy link
Copy Markdown
Contributor

Summary

Combined logger exception/warning in Connector.py.

Fixes #408

@ad-claw000 ad-claw000 self-assigned this May 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR reduces duplicated log output in Connector.py by consolidating paired logger.exception(...) + logger.warning(...) calls into a single log entry that still includes traceback context.

Changes:

  • Combine two certificate-file-missing logger.exception(...) calls into one multi-line message.
  • Replace repeated logger.exception(e) followed by logger.warning(...) in _query with a single logger.warning(..., exc_info=True) for SSL/OS/attribute error cases.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@luisremis
luisremis merged commit a16294c into main May 19, 2026
5 checks passed
@luisremis
luisremis deleted the fix/issue-408 branch May 19, 2026 18:40
@luisremis
luisremis restored the fix/issue-408 branch May 19, 2026 19:02
@luisremis
luisremis deleted the fix/issue-408 branch May 19, 2026 19:20
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.

3 participants