mirror of https://github.com/m-labs/artiq.git
runtime: save now when terminating with exception
This commit is contained in:
parent
2ae20fbc4d
commit
8e308481c1
|
@ -423,6 +423,8 @@ void __artiq_terminate(struct artiq_exception *artiq_exn,
|
|||
{
|
||||
struct msg_exception msg;
|
||||
|
||||
now_save();
|
||||
|
||||
msg.type = MESSAGE_TYPE_EXCEPTION;
|
||||
msg.exception = artiq_exn;
|
||||
msg.backtrace = backtrace;
|
||||
|
|
Loading…
Reference in New Issue