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

If location is given in the wrong format, no helpful error message returned #154

Open
m4v15 opened this issue Sep 24, 2017 · 4 comments
Open
Labels

Comments

@m4v15
Copy link
Collaborator

m4v15 commented Sep 24, 2017

Get a server error 500 which is no good

@m4v15 m4v15 added the bug label Sep 24, 2017
@m4v15
Copy link
Collaborator Author

m4v15 commented Sep 24, 2017

related - the location needs to come [Long, Lat] not [Lat, Long] otherwise an error happens. (Lat can be -90 to 90 and long can be -180 to 180 so in some cases if they are the wrong way round it breaks)

Should add this to the docs

@m4v15
Copy link
Collaborator Author

m4v15 commented Sep 24, 2017

related, we need to deal with this error in mongoErrorHandler:

MongoError: Can't extract geo keys

@mattlub
Copy link
Collaborator

mattlub commented Sep 24, 2017

related #91 for that Mongo error

@mattlub
Copy link
Collaborator

mattlub commented Sep 24, 2017

related #28...

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

No branches or pull requests

2 participants