Skip to content
Snippets Groups Projects
Commit 8cdf55c3 authored by mcmlxxix's avatar mcmlxxix
Browse files

added detailed error reporting

parent fcdb34df
No related branches found
No related tags found
No related merge requests found
......@@ -320,7 +320,9 @@ function main() {
try {
DCC_Chats[c].bot_command(cmd);
} catch (err) {
DCC_Chats[c].o(null,"ERROR: " + err);
DCC_Chats[c].o(null,err);
DCC_Chats[c].o(null,"file: " + err.fileName);
DCC_Chats[c].o(null,"line: " + err.lineNumber);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment