Report the exception when the JMX command fails

Right now, it is not possible to see the error when the JMX command fails. This patch changes the code to include e.message and e.backtrace in the Scout error report.