From c1dd1c1430dd98289ddcd03d1f1ffa3eac1523a8 Mon Sep 17 00:00:00 2001 From: moculus Date: Tue, 10 Mar 2009 14:35:49 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/consolemini.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mode/consolemini.py b/mode/consolemini.py index 78f9864..a9b4458 100644 --- a/mode/consolemini.py +++ b/mode/consolemini.py @@ -51,7 +51,8 @@ class ConsoleExec(method.Method): output = code_out.getvalue() code_out.close() code_err.close() - except (SyntaxError, OverflowError, ValueError), e: + #except (SyntaxError, OverflowError, ValueError), e: + except Exception, e: a.set_mini_buffer_prompt('>>> ') t = sys.exc_traceback output = str(e) + traceback.format_exc()