File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,11 @@ export function _INTERNAL_captureLog(
97
97
} ;
98
98
99
99
if ( release ) {
100
- logAttributes . release = release ;
100
+ logAttributes [ 'sentry .release' ] = release ;
101
101
}
102
102
103
103
if ( environment ) {
104
- logAttributes . environment = environment ;
104
+ logAttributes [ 'sentry .environment' ] = environment ;
105
105
}
106
106
107
107
if ( isParameterizedString ( message ) ) {
Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ describe('_INTERNAL_captureLog', () => {
136
136
const logAttributes = _INTERNAL_getLogBuffer ( client ) ?. [ 0 ] ?. attributes ;
137
137
expect ( logAttributes ) . toEqual (
138
138
expect . arrayContaining ( [
139
- expect . objectContaining ( { key : 'release' , value : { stringValue : '1.0.0' } } ) ,
140
- expect . objectContaining ( { key : 'environment' , value : { stringValue : 'test' } } ) ,
139
+ expect . objectContaining ( { key : 'sentry. release' , value : { stringValue : '1.0.0' } } ) ,
140
+ expect . objectContaining ( { key : 'sentry. environment' , value : { stringValue : 'test' } } ) ,
141
141
] ) ,
142
142
) ;
143
143
} ) ;
You can’t perform that action at this time.
0 commit comments