1
0
Fork 0

wasp: Manager: Push exceptions to the console as well as the crash app

This commit is contained in:
Daniel Thompson 2020-04-14 20:00:49 +01:00
parent a77301ec64
commit 5fc802fb78

View file

@ -12,6 +12,7 @@ import gc
import machine import machine
import watch import watch
import widgets import widgets
import sys
from apps import * from apps import *
@ -325,6 +326,7 @@ class Manager():
except KeyboardInterrupt: except KeyboardInterrupt:
raise raise
except Exception as e: except Exception as e:
sys.print_exception(e)
self.switch(CrashApp(e)) self.switch(CrashApp(e))
# Currently there is no code to control how fast the system # Currently there is no code to control how fast the system