554
551
if 'exception' in inspection:
555
552
exception = inspection['exception']
556
553
exception_name = type(exception).__name__
561
559
'globals': self._console.globals(),
563
561
'stdout': self._console.stdout.read(),
564
562
'stderr': self._console.stderr.read(),