It looks to like the gogoduck script does write any output to stderr. This would mean that the current mechanism for getting human-readable error messages form the script into emails for the user is never used.
What does happen
All logging goes to stdout.
So the emails go out with a generic message rather than a message specific to what the problem was (in the cases where we want to do that).
What should happen
In the cases where there is a specific message we want to include with the failure email we need to write that to stderr.
It looks to like the gogoduck script does write any output to stderr. This would mean that the current mechanism for getting human-readable error messages form the script into emails for the user is never used.
What does happen All logging goes to stdout. So the emails go out with a generic message rather than a message specific to what the problem was (in the cases where we want to do that).
What should happen In the cases where there is a specific message we want to include with the failure email we need to write that to stderr.