[Sentry] Added content type headers to sentry requests#205
Conversation
|
NB: this (actually all the latest changes related to sentry API changes) breaks the recipe for self-hosted, non up-to-date sentry servers. |
|
Hmmm, how can we fix it and do not break? @flo-sch do you use master brunch? |
|
Hey @antonmedv, I am very uncertain actually, since I do not know Sentry that much, neither their API changes (IMHO it is quite unfortunate that they do not version their API... Would make things quite easier for us). Here, I refer to a ~2/3 years old, self-hosted version of Sentry that has never been updated apparently. Anyway, I noticed 2 errors:
I do not see an easy solution for that, despite some way of versioning the recipe itself. In that case, I would rather stick to an older version of this recipe (requires to keep an old version of all recipes then?), or duplicate it internally if I have to. But it could be nice to mention which version of Sentry this recipe works with, somewhere in the documentation? |
|
Yes, better docs is required. I'm looking towards this. |
Sentry requires the content-type headers to accept certain api requests. I've added these headers to both requests.
Already covert in the previous recipe message