##// END OF EJS Templates
Remove check for custom_exceptions from showtraceback; it's checked in run_code.
Thomas Kluyver -
Show More
@@ -1703,9 +1703,6 b' class InteractiveShell(SingletonConfigurable):'
1703 elif etype is UsageError:
1703 elif etype is UsageError:
1704 self.write_err("UsageError: %s" % value)
1704 self.write_err("UsageError: %s" % value)
1705 else:
1705 else:
1706 if etype in self.custom_exceptions:
1707 stb = self.CustomTB(etype, value, tb, tb_offset)
1708 else:
1709 if exception_only:
1706 if exception_only:
1710 stb = ['An exception has occurred, use %tb to see '
1707 stb = ['An exception has occurred, use %tb to see '
1711 'the full traceback.\n']
1708 'the full traceback.\n']
General Comments 0
You need to be logged in to leave comments. Login now