From 5fc802fb786d8122bd4ae0dbe6e400d4b43dbd32 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Tue, 14 Apr 2020 20:00:49 +0100 Subject: [PATCH] wasp: Manager: Push exceptions to the console as well as the crash app --- wasp/wasp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wasp/wasp.py b/wasp/wasp.py index 7f88cdf..0f6327d 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -12,6 +12,7 @@ import gc import machine import watch import widgets +import sys from apps import * @@ -325,6 +326,7 @@ class Manager(): except KeyboardInterrupt: raise except Exception as e: + sys.print_exception(e) self.switch(CrashApp(e)) # Currently there is no code to control how fast the system