diff --git a/cores/esp8266/core_esp8266_postmortem.c b/cores/esp8266/core_esp8266_postmortem.c index 0a3876537d..9712429795 100644 --- a/cores/esp8266/core_esp8266_postmortem.c +++ b/cores/esp8266/core_esp8266_postmortem.c @@ -197,6 +197,7 @@ void __assert_func(const char *file, int line, const char *func, const char *wha s_panic_line = line; s_panic_func = func; gdb_do_break(); /* if GDB is not present, this is a no-op */ + raise_exception(); } void __panic_func(const char* file, int line, const char* func) {