This should do the following: 1) rescue any exceptions 2) log the command, minus any params 3) log the output as info 4) log the exit code as error when non-zero 5) log standard error as error if exit code is non-zero, warn otherwise. 6) re-raise the existing exception