Skip to content

Commit 54b3c98

Browse files
author
Jon Wayne Parrott
authored
Fix bare except (googleapis#4250)
1 parent 09cf23a commit 54b3c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_core/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)