[Turn on line numbering]
arg traceback, @parse;
var tb;
if (parse && (| parse[2].find_method(parse[3]).has_flag('core) |))
$sys.log_traceback(traceback, last_command);
// who do we show tracebacks to...
if (.has_ancestor($sys.get_setting("traceback-for", $sys))) {
.tell(traceback.fmt_tb());
.tell(["!", "! You may want to use @report to report this problem."]);
} else {
.tell("OOPS! An error has occurred: " + traceback[1][2]);
.tell("You can view the full error with @traceback");
.tell("You may want to use @report to report this problem.");
}
// $#Edited: 26 Aug 01 17:09 $brandon
["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]