pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/plotly/plotly.py/commit/d284e70b8e303555fca837dfe125bba9af7c3672

nk crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> Retry on "Uh oh, an error occurred" request exceptions (#1153) · plotly/plotly.py@d284e70 · GitHub
Skip to content

Commit d284e70

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plotly/api/v2/utils.py

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy