tools: idf_monitor.py: show espcoredump.py error output on failure
This commit is contained in:
parent
50aabfa257
commit
23a679a7c5
1 changed files with 1 additions and 1 deletions
|
@ -749,7 +749,7 @@ class Monitor(object):
|
|||
self._print(output)
|
||||
self._output_enabled = False # Will be reenabled in check_coredump_trigger_after_print
|
||||
except subprocess.CalledProcessError as e:
|
||||
yellow_print("Failed to run espcoredump script: {}\n\n".format(e))
|
||||
yellow_print("Failed to run espcoredump script: {}\n{}\n\n".format(e, e.output))
|
||||
self._output_enabled = True
|
||||
self._print(COREDUMP_UART_START + b'\n')
|
||||
self._print(self._coredump_buffer)
|
||||
|
|
Loading…
Reference in a new issue