mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 15:47:46 +00:00
[thci] print traceback and re-raise exceptions (#7356)
THCI used to catch Exceptions and print errors using `ModuleHelper.WriteIntoDebugLogger`. However, in most of time it just help hide the actual issue and make it harder to debug. Re-raising the exceptions should be a better approach: - @API decorator will print the full exception Traceback via `ModuleHelper.WriteIntoDebugLogger` and then re-raise.
This commit is contained in:
+600
-762
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user