remove unreachable code fakeRevision inside isErrorStatus