Skip to content

Commit f89cfc8

Browse files
Update ErrorInstrumentation.ts
1 parent d9cfe42 commit f89cfc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/@launchdarkly/observability-react-native/src/instrumentation/ErrorInstrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class ErrorInstrumentation {
169169

170170
const attributes: Attributes = {
171171
...formattedError.attributes,
172-
...rejectionAttributes, // Add extracted rejection details
172+
...rejectionAttributes,
173173
'error.unhandled': true,
174174
'error.caught_by': 'unhandledrejection',
175175
'promise.handled': false,

0 commit comments

Comments
 (0)