Raise an exception on protcol error instead of ignoring.