Clean up exception messages