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

Retry on server error #25

Merged
merged 2 commits into from Nov 7, 2017
Merged

Conversation

@Shwetajain148
Copy link

@Shwetajain148 Shwetajain148 commented Oct 31, 2017

No description provided.

if(statusCode === '403') isValidToken = false;
if (statusCode === '500' || statusCode === '503' || statusCode === '504') retryOnServerError(res);

This comment has been minimized.

@mchaudhary

mchaudhary Nov 7, 2017

@Shwetajain148 you should use the curl braces after if condition don't put under if statements without having { even if you have single statement.

This comment has been minimized.

@Shwetajain148

Shwetajain148 Jan 22, 2018
Author

@mchaudhary Thanks for pointing out this. I will take of your input in my future commits.

@mchaudhary mchaudhary merged commit 14324cf into loggly:master Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.