diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-14 19:00:49 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-14 19:00:49 (GMT) |
| commit | 5fc802fb786d8122bd4ae0dbe6e400d4b43dbd32 (patch) | |
| tree | a0b10ce2a894ed241cfdea2256edc81ad8de2b8e | |
| parent | a77301ec64b9c3f88e699e89c554b21aa18fc50b (diff) | |
wasp: Manager: Push exceptions to the console as well as the crash app
| -rw-r--r-- | wasp/wasp.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
