diff --git a/notebooker/constants.py b/notebooker/constants.py index a957a06..4fba4cb 100644 --- a/notebooker/constants.py +++ b/notebooker/constants.py @@ -128,8 +128,10 @@ class NotebookResultError(NotebookResultBase): @property def raw_html(self): - return """

This job resulted in an error:
{}

""".format( - self.error_info + formatted_stdout = "
".join(self.stdout) if self.stdout else "" + return """

This job resulted in an error:
{}

+

stdout

{}""".format( + self.error_info, formatted_stdout ) @property