wasp: Manager: Push exceptions to the console as well as the crash app
This commit is contained in:
parent
a77301ec64
commit
5fc802fb78
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue