escape exception message