forked from M-Labs/artiq
runtime: save now when terminating with exception
This commit is contained in:
parent
e069ce9dd8
commit
5f8b02a1d2
|
@ -423,6 +423,8 @@ void __artiq_terminate(struct artiq_exception *artiq_exn,
|
||||||
{
|
{
|
||||||
struct msg_exception msg;
|
struct msg_exception msg;
|
||||||
|
|
||||||
|
now_save();
|
||||||
|
|
||||||
msg.type = MESSAGE_TYPE_EXCEPTION;
|
msg.type = MESSAGE_TYPE_EXCEPTION;
|
||||||
msg.exception = artiq_exn;
|
msg.exception = artiq_exn;
|
||||||
msg.backtrace = backtrace;
|
msg.backtrace = backtrace;
|
||||||
|
|
Loading…
Reference in New Issue