in src/mod_rivet_ng/mod_rivet_common.c [568:591]
void Rivet_Panic TCL_VARARGS_DEF(CONST char *, arg1)
{
va_list argList;
char* buf;
char* format;
rivet_thread_private* private;
ap_assert (apr_threadkey_private_get ((void **)&private,rivet_thread_key) == APR_SUCCESS);
format = (char *) TCL_VARARGS_START(char *,arg1,argList);
buf = (char *) apr_pvsprintf(private->rivet_panic_pool, format, argList);
if (private->rivet_panic_request_rec != NULL) {
ap_log_error(APLOG_MARK, APLOG_CRIT, APR_EGENERAL,
private->rivet_panic_server_rec,
MODNAME ": Critical error in request: %s",
private->rivet_panic_request_rec->unparsed_uri);
}
ap_log_error(APLOG_MARK, APLOG_CRIT, APR_EGENERAL,
private->rivet_panic_server_rec, "%s", buf);
abort();
}