-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ECO-4874] Replaced all occurences of checking error message #1957
Conversation
To check I’ve understood — the error messages that you've removed the checks for are all ones that are generated by the server? |
correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @maratal, I just ran into an issue with ably-cocoa tests checking against realtime error messages and the assertion which failed was this one
expect(error.localizedDescription).to(contain("Invalid accessToken")) |
@maratal found some more here as well:
|
Thanks @owenpearson I was looking for |
…de (or removed where the error code check was already presented) except places where error is locally generated (since it doesn't contain proper error code - 0 usually).
5a087a7
to
b98ce6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Replaced all occurences of checking error message instead of error code (or removed where the error code check was already presented) except places where error is locally generated (since it doesn't contain proper error code - 0 usually).
Closes #1946