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

CommonServerPython: Improved implementation of *ConnectionError* handling #33203

Merged
merged 6 commits into from
Mar 18, 2024

Conversation

ilappe
Copy link
Contributor

@ilappe ilappe commented Mar 3, 2024

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/XSUP-34075

Description

Currently, there is cases where there no errno in the Exception
so the orig exception is hided without descriptive info.
image

fix:
in such case- return the orig exception DemistoException(str(exception))

@ilappe ilappe requested a review from DeanArbel March 3, 2024 16:34
@ilappe ilappe self-assigned this Mar 3, 2024
@ilappe ilappe merged commit 8b216d5 into master Mar 18, 2024
21 checks passed
@ilappe ilappe deleted the ilappe/XSUP-34075/raise_the_orig_exception branch March 18, 2024 07:35
pal-xmco pushed a commit to pal-xmco/content that referenced this pull request Jun 19, 2024
…ling (demisto#33203)

* Improved implementation of *ConnectionError* handling

* lint fix

* better error handling

* fix pre commit

* update RN after merge master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants