Added a stack trace to the logs to give more useful feedback when the wrapped code spearmint is calling crashes