if the response is not a success or redirect, set the exception to the response message so we can tell why the ping failed