diff --git a/internal_filesystem/lib/README.md b/internal_filesystem/lib/README.md index b78ec741..c1de9157 100644 --- a/internal_filesystem/lib/README.md +++ b/internal_filesystem/lib/README.md @@ -1,6 +1,4 @@ This /lib folder contains: -- https://github.com/echo-lalia/qmi8658-micropython/blob/main/qmi8685.py but given the correct name "qmi8658.py" -- traceback.mpy from https://github.com/micropython/micropython-lib - mip.install('github:jonnor/micropython-zipfile') - mip.install("shutil") for shutil.rmtree('/apps/com.example.files') # for rmtree() - mip.install("aiohttp") # easy websockets diff --git a/internal_filesystem/lib/mpos/content/app_manager.py b/internal_filesystem/lib/mpos/content/app_manager.py index 0202cdd7..08c1bdff 100644 --- a/internal_filesystem/lib/mpos/content/app_manager.py +++ b/internal_filesystem/lib/mpos/content/app_manager.py @@ -1,5 +1,4 @@ import os -import traceback try: import zipfile @@ -289,9 +288,7 @@ class AppManager: return False except Exception as e: print(f"Thread {thread_id}: exception during execution:") - # Print stack trace with exception type, value, and traceback - tb = getattr(e, '__traceback__', None) - traceback.print_exception(type(e), e, tb) + sys.print_exception(e) return False finally: # Always restore sys.path, even if we return early or raise an exception diff --git a/internal_filesystem/lib/traceback.mpy b/internal_filesystem/lib/traceback.mpy deleted file mode 100644 index ff0e4c68..00000000 Binary files a/internal_filesystem/lib/traceback.mpy and /dev/null differ