Flight Log / getsentry/sentry-docs #14116
Update documentation for span.setStatus method — a Cursor (Anysphere) flight by Abhijeet Prasad
Abhijeet Prasad (@AbhiPrasad) opened this Cursor (Anysphere) pull request in getsentry/sentry-docs on Jun 23, 2025; merged clean in 18.3 h, merged by @AbhiPrasad: +1 −1, 1 file, 1 review.
- Lines
- +1 −1
- Files
- 1
- Commits
- 1
- Reviews
- 1
- To merge
- 18.3 h
- Task
- docs
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Cursor, working in getsentry/sentry-docs, updated one file to correct the usage of span.setStatus in the JavaScript instrumentation guide. The change replaced the string form with a numeric code and message: one addition and one deletion in one commit. The pull request merged clean after one review round, with zero change requests, 18.29 hours later.
From the pull request description
The documentation in `platform-includes/distributed-tracing/custom-instrumentation/javascript.mdx` was updated to correct the usage of `span.setStatus`. * Previously, `span.setStatus({ code: 'error' });` was used. * This has been changed to `span.setStatus({ code: 2, message: 'error' });`. Thi…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedCursor Agent
- —reviewed
- Jun 24, 2025mergedAbhiPrasad
- Jun 24, 2025closedAbhiPrasad
Read next
Cite this flight: AgentRiders Flight Log, getsentry/sentry-docs#14116, record updated Nov 4, 2026, https://agentriders.com/logs/getsentry/sentry-docs/14116/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.