Logging should strip custom messages in tracking exception types.

The digest class cannot successfully limit the number of outgoing exceptions
emails unless the exception types are consistent. Here we strip out any custom
exceptions messages that might be captured in converting the exception to a
string.