I would like to have the line number printed out if an error occurs in my plugin.
I have already tried to display this in NLog.config with ${callsite-linenumber}. But unfortunately it only prints a 0 for plugins. For internal TS3Audiobot stuff it did output lines.
Is there a way to do this without inserting try/catch methods everywhere? So that it always prints a line number on every error
I would like to have the line number printed out if an error occurs in my plugin.
I have already tried to display this in
NLog.configwith${callsite-linenumber}. But unfortunately it only prints a 0 for plugins. For internal TS3Audiobot stuff it did output lines.Is there a way to do this without inserting try/catch methods everywhere? So that it always prints a line number on every error