##// END OF EJS Templates
Prevent completer errors from crashing kernel.
Fernando Perez -
Show More
@@ -765,7 +765,12 b' class IPCompleter(Completer):'
765 765 if self.merge_completions:
766 766 self.matches = []
767 767 for matcher in self.matchers:
768 try:
768 769 self.matches.extend(matcher(text))
770 except:
771 # Show the ugly traceback if the matcher causes an
772 # exception, but do NOT crash the kernel!
773 sys.excepthook()
769 774 else:
770 775 for matcher in self.matchers:
771 776 self.matches = matcher(text)
General Comments 0
You need to be logged in to leave comments. Login now