commit | 6873d1439a53fbb97c98829371aa6d8b77dcbb45 | [log] [tgz] |
---|---|---|
author | Jon Wayne Parrott <jonwayne@google.com> | Tue Oct 24 15:54:12 2017 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 24 15:54:12 2017 -0700 |
tree | d934757f430764b1bfe81a9efcb05f0f8c119b65 | |
parent | f5f9fe9d78a45f33e428b74f98ea27e6251928f9 [diff] |
Fix bare except (#4250)
diff --git a/google/api_core/future/_helpers.py b/google/api_core/future/_helpers.py index 933d0b8..7c7cc09 100644 --- a/google/api_core/future/_helpers.py +++ b/google/api_core/future/_helpers.py
@@ -35,5 +35,5 @@ # We intentionally want to swallow all exceptions. try: return callback(*args, **kwargs) - except: + except Exception: _LOGGER.exception('Error while executing Future callback.')