Closed ghost closed 8 years ago
on exit_with_msg the error message (including the file/line) are send to STDERR so that even with something like
my_var=$(athena.plugins.my_plugin.my_command)
the stacktrace should be visible with --athena-dbg enabled
also I realized that if you do something like that:
my_var=$(athena.plugins.my_plugin.my_command) if [ -z "$my_var" ]; then ....
then my_var right now will have the stacktrace which might be unexpected
my_var
on exit_with_msg the error message (including the file/line) are send to STDERR so that even with something like
the stacktrace should be visible with --athena-dbg enabled