mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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
Block a user