Show More
@@ -60,7 +60,7 b' class SessionRootHandler(IPythonHandler):' | |||
|
60 | 60 | "suitable kernel instead, or install that kernel." % kernel_name) |
|
61 | 61 | status_msg = 'Kernel not found' |
|
62 | 62 | msg = dict(full=msg, short=status_msg) |
|
63 |
raise web.HTTPError( |
|
|
63 | raise web.HTTPError(501, json.dumps(msg)) | |
|
64 | 64 | |
|
65 | 65 | location = url_path_join(self.base_url, 'api', 'sessions', model['id']) |
|
66 | 66 | self.set_header('Location', url_escape(location)) |
General Comments 0
You need to be logged in to leave comments.
Login now