Skip to content

Commit d284e70

Browse files
authored
Retry on "Uh oh, an error occurred" request exceptions (#1153)
1 parent 07a2ab3 commit d284e70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: plotly/api/v2/utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ def should_retry(exception):
117117
500 <= exception.status_code < 600):
118118
# Retry on 5XX errors.
119119
return True
120+
elif 'Uh oh, an error occurred' in exception.message:
121+
return True
120122

121123
return False
122124

0 commit comments

Comments
 (0)