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

Improve oembed errors handling (no hidden error, CORS) #2254

Merged
merged 1 commit into from Jul 25, 2019
Merged

Improve oembed errors handling (no hidden error, CORS) #2254

merged 1 commit into from Jul 25, 2019

Conversation

noirbizarre
Copy link
Contributor

@noirbizarre noirbizarre commented Jul 25, 2019

This PR improve oembed errors handling and fixes #2255.

This one has been detected while working on https://github.com/etalab/datagouv-search-indicator: one of the dataset have been removed (INSEE legacy SIRENE dataset) and this prevent from requesting oembed for this dataset (or more precisely from seing it's a 404 and the dataset does not exists anymore)

Note: this fixes specific error case on oembed but in order to have CORS on all errors a fix is required on flask-restplus

@noirbizarre noirbizarre requested a review from a team July 25, 2019 08:07
@bzg
Copy link
Contributor

bzg commented Jul 25, 2019

Does it fix an issue that is currently referenced somewhere? If not, can you just add this issue and reference it in the PR message?

@noirbizarre
Copy link
Contributor Author

Done 👍

@noirbizarre noirbizarre merged commit cf589ed into opendatateam:master Jul 25, 2019
@noirbizarre noirbizarre deleted the oembed-404 branch July 25, 2019 09:03
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.

OEmbed errors are hidden
2 participants