Add exception class and message to stack trace for #271