Grab the error message from the right object and remove newlines so that we get all of it.