Strip message and exception values