Skip to content

Commit

Permalink
fatal: cause a backtrace.
Browse files Browse the repository at this point in the history
Much nicer for debugging.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Oct 31, 2017
1 parent 45b92dc commit 21305c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightningd/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,5 +521,5 @@ void fatal(const char *fmt, ...)
va_end(ap);
log_crash(0);
}
exit(1);
abort();
}

0 comments on commit 21305c0

Please sign in to comment.