(ws) cobra to sentry - created events with sentry tags based on tags present in the cobra messages

This commit is contained in:
Benjamin Sergeant
2019-12-11 17:27:37 -08:00
parent 432624df0d
commit cca304fc18
5 changed files with 68 additions and 23 deletions

View File

@ -84,6 +84,12 @@ namespace ix
auto ret = sentryClient.send(msg, verbose);
HttpResponsePtr response = ret.first;
if (!response)
{
spdlog::warn("Null HTTP Response");
continue;
}
if (verbose)
{
for (auto it : response->headers)