##// END OF EJS Templates
Fix contentsmanager api error message to give the path name
Jason Grout -
Show More
@@ -348,7 +348,7 b' class FileContentsManager(FileManagerMixin, ContentsManager):'
348 348 else:
349 349 if type == 'directory':
350 350 raise web.HTTPError(400,
351 u'%s is not a directory', reason='bad type')
351 u'%s is not a directory' % path, reason='bad type')
352 352 model = self._file_model(path, content=content, format=format)
353 353 return model
354 354
General Comments 0
You need to be logged in to leave comments. Login now