Skip to content
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

RTL7e #211

Merged
merged 4 commits into from
Mar 2, 2016
Merged

RTL7e #211

merged 4 commits into from
Mar 2, 2016

Conversation

ricardopereira
Copy link
Contributor

Picked: 4b6829d.

@ricardopereira
Copy link
Contributor Author

Rebased with changes.

let line = logs.reduce("") { $0 + "; " + $1 } //Reduce in one line
expect(line).to(contain("ERROR: ARTDataDecoded failed to decode data as 'invalid'"))

done()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as #209 (comment):

Not tested: "an ErrorInfo error object is emitted as an error on the Channel". (I guess this means that the error is set in RealtimeChannel.errorReason.)

Although now I think "an error should be emitted on the channel" means that it should be emitted to the channel.on listeners. @mattheworiordan is this right? Should it also be set in RealtimeChannel.errorReason?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, ideally we want to have a generic on('error') handler, although this is not fully supported in all libs unfortunately. Yes, Channel.errorReason should be set as well.

@ricardopereira ricardopereira force-pushed the RTL7e branch 2 times, most recently from 813f30f to ead24be Compare February 17, 2016 17:44
@mattheworiordan mattheworiordan mentioned this pull request Feb 18, 2016
@ricardopereira
Copy link
Contributor Author

Done

@tcard
Copy link
Contributor

tcard commented Feb 23, 2016

This should be rebased on top of #231 once it's merged.

@mattheworiordan
Copy link
Member

I am assuming this is somewhat blocked by ably/docs#89 (comment) so we can review once that is finalised and merged in?

@ricardopereira
Copy link
Contributor Author

Correct.

@tcard
Copy link
Contributor

tcard commented Feb 29, 2016

@ricardopereira #231 is merged, you can rebase this now.

@ricardopereira
Copy link
Contributor Author

Rebased with changes: e1cc273.

@mattheworiordan
Copy link
Member

LGTM

1 similar comment
@tcard
Copy link
Contributor

tcard commented Mar 1, 2016

LGTM

ricardopereira added a commit that referenced this pull request Mar 2, 2016
@ricardopereira ricardopereira merged commit 3d10de2 into master Mar 2, 2016
@ricardopereira ricardopereira deleted the RTL7e branch March 2, 2016 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants