Skip to content

Commit

Permalink
status code
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Aug 8, 2024
1 parent abd111d commit 05f8818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sentry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ namespace sentry {
}
break;
}
sentry_transaction_set_data((sentry_transaction_t*)spn, "http.response.status_code", sentry_value_new_int32(s));
set_span_status(spn, status);
end_span(spn);
}
Expand Down

0 comments on commit 05f8818

Please sign in to comment.