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

Standardize errors #359

Merged
merged 6 commits into from
Feb 9, 2018
Merged

Standardize errors #359

merged 6 commits into from
Feb 9, 2018

Conversation

RaeesBhatti
Copy link
Contributor

No description provided.

mthenw
mthenw previously requested changes Feb 9, 2018
@@ -47,9 +48,11 @@ func New(workersNumber uint, backlogLength uint, targetCache Targeter, plugins *
}

func (router *Router) ServeHTTP(w http.ResponseWriter, r *http.Request) {
encoder := json.NewEncoder(w)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

content type should be set here.

@RaeesBhatti RaeesBhatti dismissed mthenw’s stale review February 9, 2018 14:29

Made the required changes

@mthenw mthenw merged commit 7907ff2 into master Feb 9, 2018
@mthenw mthenw deleted the standardizeErrors branch February 9, 2018 14:31
@mthenw
Copy link
Contributor

mthenw commented Feb 12, 2018

@elsteelbrain any ideas why Travis didn't run tests here?

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.

2 participants