Skip to content

Commit 16a6a3c

Browse files
committed
replacing PlotlyError with requests.exception
1 parent 772c106 commit 16a6a3c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plotly/plotly/plotly.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,10 +1314,7 @@ def response_handler(cls, response):
13141314
.format(url=get_config()['plotly_api_domain'])
13151315
)
13161316
else:
1317-
plotly_exception = exceptions.PlotlyRequestError(
1318-
requests_exception
1319-
)
1320-
raise(plotly_exception)
1317+
raise requests_exception
13211318

13221319
if ('content-type' in response.headers and
13231320
'json' in response.headers['content-type'] and

0 commit comments

Comments
 (0)