Commit e655ac6
authored
fix(js): Fix span status example (#15065)
This snippet was incorrect.
Closes getsentry/sentry-javascript#17808
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Corrects the `span.setStatus` example to use the `code` property
instead of `status` in JavaScript tracing docs.
>
> - **Docs (JavaScript tracing)**:
> - Correct `span.setStatus` example to use `{ code: 2 }` instead of `{
status: 2 }` in
`docs/platforms/javascript/common/tracing/instrumentation/index.mdx`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
6a5896e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 6a0c037 commit e655ac6
File tree
1 file changed
+11
-11
lines changed- docs/platforms/javascript/common/tracing/instrumentation
1 file changed
+11
-11
lines changedLines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
0 commit comments