We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112950a commit 5cb3e59Copy full SHA for 5cb3e59
nbgrader/converters/base.py
@@ -391,7 +391,7 @@ def _handle_failure(gd: typing.Dict[str, str]) -> None:
391
self.convert_single_notebook(notebook_filename)
392
393
# Exceptions that shouldn't interrupt the entire conversion process should go here
394
- # Those that should go in outer try/except
+ # Those that should interrupt go in the outer try/except
395
except UnresponsiveKernelError:
396
self.log.error(
397
"While processing assignment %s, the kernel became "
@@ -405,6 +405,7 @@ def _handle_failure(gd: typing.Dict[str, str]) -> None:
405
errors.append((gd['assignment_id'], gd['student_id']))
406
_handle_failure(gd)
407
408
+ # Raise unhandled exceptions for the outer try/except
409
except Exception as e:
410
raise e
411
0 commit comments