Skip to content

Commit

Permalink
feat: enable backtraces by default on all domains
Browse files Browse the repository at this point in the history
  • Loading branch information
leostera committed Oct 18, 2024
1 parent d5f3f2d commit 49749d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion riot/runtime/scheduler/scheduler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,9 @@ module Pool = struct
let setup () =
(* NOTE(@leostera): we want the Net subsystem to be able to write to closed
sockets and handle that as a regular value rather than as a signal. *)
Sys.set_signal Sys.sigpipe Sys.Signal_ignore
Sys.set_signal Sys.sigpipe Sys.Signal_ignore;
Printexc.record_backtrace true


let make ?(rnd = Random.State.make_self_init ()) ~domains ~main () =
setup ();
Expand Down

0 comments on commit 49749d9

Please sign in to comment.