Skip to content

Conversation

@1u0n
Copy link
Contributor

@1u0n 1u0n commented Jul 8, 2017

in case the http call to the server fails for whatever reason, there's no way to know it failed and what happened, and _Post won't get executed. I add here _RequestError to be able to handle this case.

1u0n added 6 commits July 8, 2017 15:47
in case the http call to the server fails for whatever reason, there's no way to know it failed and what happened, and _Post won't get executed. I add here _RequestError to be able to handle this case.
added _RequestError to handle HTTP errors
created new option to manage request timeouts
@baptistedonaux baptistedonaux added this to the 2.7 milestone Aug 30, 2017
@baptistedonaux baptistedonaux changed the base branch from 2.6 to 2.7 August 30, 2017 13:22
@baptistedonaux
Copy link
Contributor

Thanks for your contribution ! It seems good. I will prefer _Error instead of _RequestError to aggregate all errors.

What's your opinion about renaming ?

@baptistedonaux
Copy link
Contributor

Lot of thanks !

@baptistedonaux baptistedonaux merged commit 18b3fee into autocompletejs:2.7 Aug 31, 2017
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