Correct error type for failed port mod

When port_mod failes for whatever reason it should return error of type
port_mod_failed not bad_request.