Add exception class to failed jobs' result messages