Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit e0c3987

Browse files
committed
Merge pull request #782 from appirio-tech/string-error
Change error object to string
2 parents 84aba2b + 98d3b26 commit e0c3987

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/blocks/logger/logger.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ import angular from 'angular'
3333
$log.error(message)
3434

3535
if (window.NREUM) {
36-
var err = new Error(message)
37-
38-
window.NREUM.noticeError(err)
36+
window.NREUM.noticeError(message)
3937
}
4038
}
4139

0 commit comments

Comments
 (0)