Files
jupyter_contrib_nbextensions/nbextensions/usability/skip-traceback

This extension hides Python tracebacks and only displays the error type an name.

After loading the extension, only newly executed cells are affected. Previous tracebacks will remain visible until the corresponding cell is executed again.

If you press the button on the toolbar with the exclamation mark, you can turn on tracebacks again.

Installation

Copy the contents of the skip-exceptions directory to a new /nbextensions/usability/skip-exceptions directory of your user's IPython directory.

%%javascript
IPython.load_extensions('usability/skip-exceptions/main');

Or, for permanent installation instructions, please see the readme, or the wiki.

Internals

This extensions works by overriding the OutputArea.prototype.append_error function, replacing it with a new function that only displays the error type and message.