Skip to content

Output line number in plugin on error #739

@MoroseCorpse

Description

@MoroseCorpse

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions