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

fixed thrown error check #593

Merged
merged 2 commits into from
Feb 6, 2015
Merged

Conversation

keblodev
Copy link

Because if there's no 'find module' in ex.message ,the -1 value from indexOf is equal to true and you'll never know what hit you.

Right now basically on any error thrown in this try {} catch - you'll get "Connection protocol not supported" , which is wrong

Please review.

@dxg
Copy link
Collaborator

dxg commented Jan 12, 2015

Good catch.
Could you also add a test to orm-exports.js?

@keblodev
Copy link
Author

yes - sure :)

@keblodev keblodev force-pushed the rz-error-check-issue branch 3 times, most recently from 77d4859 to fbb53fa Compare January 13, 2015 20:13
@keblodev
Copy link
Author

@dxg , done. Please take a look.

@dxg
Copy link
Collaborator

dxg commented Feb 6, 2015

I wish there were 48 hours in the day... sorry for the delay.

dxg added a commit that referenced this pull request Feb 6, 2015
@dxg dxg merged commit 1f6be24 into dresende:master Feb 6, 2015
@dxg
Copy link
Collaborator

dxg commented Mar 18, 2015

Published as part of v2.1.23

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

Successfully merging this pull request may close these issues.

None yet

2 participants