Skip to content

Commit

Permalink
Added KeyError to appengine import error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmorell committed Aug 18, 2023
1 parent e054667 commit bfaab77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

try:
from google.appengine.api.urlfetch import fetch as AppEngineFetch
except ImportError:
except (ImportError, KeyError):
AppEngineFetch = None

try:
Expand Down

0 comments on commit bfaab77

Please sign in to comment.