Skip to content

Show (partial) backtrace on app load error

Currently we eat the traceback and just print the exception:

https://git.flow3r.garden/flow3r/flow3r-firmware/-/blob/main/python_payload/st3m/application.py?ref_type=heads#L180

Which results in useless error screens like:

failed to load: load error: 
[Errno 2] ENOENT

We should use something like the micropython-lib traceback module to extract information about at the topmost frame still in user code and include that callsite in the error screen.