File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1+ ## [ 2.10.3] ( https://github.com/adobe/aem-lib/compare/v2.10.2...v2.10.3 ) (2025-11-14)
2+
3+
4+ ### Bug Fixes
5+
6+ * ** deps:** update dependency @adobe/helix-rum-js to v2.13.7 ([ #192 ] ( https://github.com/adobe/aem-lib/issues/192 ) ) ([ ee5a6d4] ( https://github.com/adobe/aem-lib/commit/ee5a6d404da4a69a0ff7506a17112925f2d4989f ) )
7+
18## [ 2.10.2] ( https://github.com/adobe/aem-lib/compare/v2.10.1...v2.10.2 ) (2025-10-18)
29
310
Original file line number Diff line number Diff line change @@ -41,13 +41,15 @@ function sampleRUM(checkpoint, data) {
4141 const errData = { source : 'undefined error' } ;
4242 try {
4343 errData . target = error . toString ( ) ;
44- errData . source = error . stack
45- . split ( '\n' )
46- . filter ( ( line ) => line . match ( / h t t p s ? : \/ \/ / ) )
47- . shift ( )
48- . replace ( / a t ( [ ^ ] + ) \( ( .+ ) \) / , '$1@$2' )
49- . replace ( / a t / , '@' )
50- . trim ( ) ;
44+ if ( error . stack ) {
45+ errData . source = error . stack
46+ . split ( '\n' )
47+ . filter ( ( line ) => line . match ( / h t t p s ? : \/ \/ / ) )
48+ . shift ( )
49+ . replace ( / a t ( [ ^ ] + ) \( ( .+ ) \) / , '$1@$2' )
50+ . replace ( / a t / , '@' )
51+ . trim ( ) ;
52+ }
5153 } catch ( err ) {
5254 /* error structure was not as expected */
5355 }
You can’t perform that action at this time.
0 commit comments