PagerDuty/pdpyras

pdpyras eats upstream exceptions

Closed this issue · 0 comments

vectro commented

When raising a PDCLientError, pdpyras should include the upstream exception using the raise ... from ... syntax. Otherwise important details about the error could be lost. For example, a "non-transient network error" could be a DNS, SSL, or other issue; and the details of the causing exception can help clarify which of these is the issue.