mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-10 04:21:02 +00:00
20 lines
589 B
OpenEdge ABL
20 lines
589 B
OpenEdge ABL
#include "/obj/mudos/master2.i"
|
|
|
|
// disabled in main.c
|
|
static void crash(string error, object command_giver, object current_object) {
|
|
#ifndef DEBUG
|
|
log_file("CRASH", MUD_NAME + " crashed on: " + ctime(time()) +
|
|
", error: " + error + "\n");
|
|
if (command_giver)
|
|
log_file("CRASH",
|
|
"this_player: " + file_name(command_giver) + "\n");
|
|
if (current_object)
|
|
log_file("CRASH",
|
|
"this_object: " + file_name(current_object) + "\n");
|
|
#endif
|
|
// users() -> pr("_notice_announce_crash", "System is crashing.\n");
|
|
}
|
|
|
|
// void error_handler( mapping error, int caught ) {
|
|
|