WIP Add exception stack traces to log output and classify different failure types