A handler_panic function is what we are looking for. Something like (mocked up from handle_error)
int(* WT_EVENT_HANDLER::handle_panic)(WT_EVENT_HANDLER *handler, WT_SESSION *session, int error, const char *message)
We just want the callback for logging purposes, and so that we can go through our own abrupt shutdown routines. We were not going to continue the process at this point.