<div dir="ltr"><div>Hi,</div><div><br></div><div>I have a crashing gen_statem, but to the best of my knowledge I cannot see from the stock error messages which line my gen_statem dies on.</div><div><br></div><div>I have searched high and low in my console output, but this is the only thing that I could find:<br></div><div><br></div><div><span style="font-family:monospace">=CRASH REPORT==== 13-Jun-2018::11:17:28 ===<br>  crasher:<br>    initial call: eee_sched_shard:init/1<br>    pid: <0.3149.0><br>    registered_name: []<br>    exception error: {badrecord,trans_opts}<br>      in function  gen_statem:loop_event_actions_list/10 (gen_statem.erl, line 1210)<br>    ancestors: [<0.3148.0>,<0.3114.0>,<0.3107.0>,eee_sched_streams_sup,<br>                  eee_sched_task_sup,eee_sched_sup,<0.2867.0>]<br>    message_queue_len: 0<br>    messages: []<br>    links: [<0.3148.0>]<br>    dictionary: []<br>    trap_exit: false<br>    status: running<br>    heap_size: 6772<br>    stack_size: 27<br>    reductions: 58869<br>  neighbours:</span></div><div><br></div><div>I'm about to turn on debug mode, but I don't think that that should be the answer to this kind of problem. Line numbers should come out by default. <br></div><div><br></div><div>Cheers,</div><div>Torben<br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="https://www.linkedin.com/in/torbenhoffmann/">https://www.linkedin.com/in/torbenhoffmann/</a><br></div></div>