a little bit prettier logging information for exceptions