add underlying cause for TransportError
#1441
Labels
help wanted
We'd love to have community involvement on this issue.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is it possible to save a reference to the last exception thrown at:
google-auth-library-python/google/auth/compute_engine/_metadata.py
Line 204 in 0afc61a
and use it to build a more meaningful error message? at:
google-auth-library-python/google/auth/compute_engine/_metadata.py
Lines 217 to 220 in 0afc61a
that way the underlying reason for the
TransportError
would be available even ifDEBUG
logging level is not enabled.The text was updated successfully, but these errors were encountered: