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

Emit error event for invalid requests (instead of crashing) #67

Closed
wants to merge 1 commit into from

Conversation

clue
Copy link
Member

@clue clue commented Sep 4, 2016

No description provided.

@clue clue added the bug label Sep 4, 2016
@clue
Copy link
Member Author

clue commented Sep 5, 2016

Turns out this is a duplicate of #65, I guess I should probably have checked my mails first :)

@WyriHaximus
Copy link
Member

Yeah no problem, was watching the stream and decided to fix it right away 👍 . Thanks for putting in this PR non the less 👍

@WyriHaximus
Copy link
Member

@clue The fixes in both are nearly identical, the only main difference are not removing listeners in your PR vs removing listeners in mine. Lets pick one? 😄 Personally I'm in favor of mine because it stops listening, catches more exceptions (shouldn't matter though). How ever yours also emits $this with the error, could add that to mine. What do you think?

@clue clue closed this Sep 8, 2016
@clue clue deleted the invalid-request branch September 8, 2016 23:24
@clue
Copy link
Member Author

clue commented Sep 8, 2016

I agree, yours has been there first, which makes mine a duplicate :-)

Now let's look into getting #65 instead :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants