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

ignore any error that has stop_youtube #8914

Merged
merged 1 commit into from Apr 27, 2017

Conversation

erwinmombay
Copy link
Member

@erwinmombay erwinmombay commented Apr 24, 2017

Closes #8915.

@erwinmombay
Copy link
Member Author

also ran gofmt to fix formatting inconsistencies

strings.Contains(event.Exception, "stop_youtube") {
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
w.WriteHeader(http.StatusOK)
fmt.Fprintln(w, "IGNORE\n")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should not we still return No_CONTENT?

Copy link
Member Author

Choose a reason for hiding this comment

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

that is probably better

@erwinmombay
Copy link
Member Author

@dvoytenko can you review again?

@jridgewell
Copy link
Contributor

Version bump?

@erwinmombay
Copy link
Member Author

@jridgewell done

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

Successfully merging this pull request may close these issues.

None yet

4 participants