Skip to content

Commit f0f627d

Browse files
committed
Update message per review comment
1 parent 1295d38 commit f0f627d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

notebook/services/contents/filemanager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,5 +607,6 @@ def _validate_path(path):
607607

608608
for char in invalid_chars:
609609
if char in path:
610-
raise web.HTTPError(400, u"Path '{}' contains invalid characters {} relative to its platform. "
611-
u"Please edit the path and re-submit the request.".format(path, invalid_chars))
610+
raise web.HTTPError(400, u"Path '{}' contains characters that are invalid for the filesystem. "
611+
u"Path names on this filesystem cannot contain any of the following "
612+
u"characters: {}".format(path, invalid_chars))

0 commit comments

Comments
 (0)