Skip to content

Commit 6873d14

Browse files
author
Jon Wayne Parrott
authored
Fix bare except (#4250)
1 parent f5f9fe9 commit 6873d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/api_core/future/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ def safe_invoke_callback(callback, *args, **kwargs):
3535
# We intentionally want to swallow all exceptions.
3636
try:
3737
return callback(*args, **kwargs)
38-
except:
38+
except Exception:
3939
_LOGGER.exception('Error while executing Future callback.')

0 commit comments

Comments
 (0)