Permalink
Browse files

Log a kernel start exception

  • Loading branch information...
1 parent d40781d commit ed2a4a86faa70de83683e82f45124e5760db1714 Jason Grout committed Oct 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 untrusted_kernel_manager.py
@@ -13,11 +13,12 @@ def start_kernel(self, resource_limits=None):
try:
x = self.fkm.start_kernel(resource_limits=resource_limits)
break
- except KernelError:
+ except KernelError as e:
retry -=1
logging.debug("kernel error--trying again %s"%retry)
if not retry:
logging.debug("kernel error--giving up %s"%retry)
+ logging.exception(e)
raise
self._kernels.add(x["kernel_id"])
return x

0 comments on commit ed2a4a8

Please sign in to comment.