Print response upon error.