diff --git a/src/main.cc b/src/main.cc index 2f36ce91..31f4f091 100644 --- a/src/main.cc +++ b/src/main.cc @@ -289,7 +289,8 @@ void signal_handler(int signal) } if (signal != SIGTERM) { - auto msg = format("Received {}, exiting.\nCallstack:\n{}", text, Backtrace{}.desc()); + auto msg = format("Received {}, exiting.\nPid: {}\nCallstack:\n{}", + text, getpid(), Backtrace{}.desc()); write_stderr(msg); notify_fatal_error(msg); }