Skip to content

Commit 9b8a0aa

Browse files
committed
added grid_url to message - forgot it before
1 parent 1128e00 commit 9b8a0aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plotly/plotly/plotly.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,9 +1488,10 @@ def get_grid(grid_url, raw=False):
14881488
# check if request is ok
14891489
if not r_meta.ok:
14901490
raise exceptions.PlotlyError(
1491-
"Whoops, you got a 404 response. Your grid url {} may be "
1491+
"Whoops, you got a 404 response. {} may be "
14921492
"pointing to a plot rather than a grid. If it is a grid, make "
1493-
"sure your grid is 'public' and not 'private' or 'secret'."
1493+
"sure your grid is 'public' and not 'private' or "
1494+
"'secret'.".format(grid_url)
14941495
)
14951496

14961497
json_res_meta = json.loads(r_meta.text)

0 commit comments

Comments
 (0)