Skip to content

Commit 23a679a

Browse files
committed
tools: idf_monitor.py: show espcoredump.py error output on failure
1 parent 50aabfa commit 23a679a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/idf_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def process_coredump(self):
749749
self._print(output)
750750
self._output_enabled = False # Will be reenabled in check_coredump_trigger_after_print
751751
except subprocess.CalledProcessError as e:
752-
yellow_print("Failed to run espcoredump script: {}\n\n".format(e))
752+
yellow_print("Failed to run espcoredump script: {}\n{}\n\n".format(e, e.output))
753753
self._output_enabled = True
754754
self._print(COREDUMP_UART_START + b'\n')
755755
self._print(self._coredump_buffer)

0 commit comments

Comments
 (0)