##// END OF EJS Templates
More descriptive short message
Jessica B. Hamrick -
Show More
@@ -58,7 +58,7 b' class SessionRootHandler(IPythonHandler):'
58 except NoSuchKernel:
58 except NoSuchKernel:
59 msg = ("The '%s' kernel is not available. Please pick another "
59 msg = ("The '%s' kernel is not available. Please pick another "
60 "suitable kernel instead, or install that kernel." % kernel_name)
60 "suitable kernel instead, or install that kernel." % kernel_name)
61 status_msg = 'Kernel not found'
61 status_msg = '%s not found' % kernel_name
62 self.log.warn('Kernel not found: %s' % kernel_name)
62 self.log.warn('Kernel not found: %s' % kernel_name)
63 self.set_status(501)
63 self.set_status(501)
64 self.finish(json.dumps(dict(message=msg, short_message=status_msg)))
64 self.finish(json.dumps(dict(message=msg, short_message=status_msg)))
General Comments 0
You need to be logged in to leave comments. Login now