File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.2.1 (2020-10-23)
2
+
3
+ Improvement:
4
+
5
+ - Log the browser URL when logging errors and exceptions
6
+
1
7
## 2.1.6 (2019-12-2)
2
8
3
9
Improvement:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " app-logger-angular" ,
3
- "version" : " 2.2.0 " ,
3
+ "version" : " 2.2.1 " ,
4
4
"main" : " ./js/logging.js" ,
5
5
"description" : " Client side logging sent to the server" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ loggingModule.factory(
54
54
}
55
55
56
56
if ( LOGGING_CONFIG . FORWARD_TO_NEWRELIC && $window . NREUM && $window . NREUM . noticeError ) {
57
- $window . NREUM . noticeError ( exception ) ;
57
+ $window . NREUM . noticeError ( exception , { url : $window . location . href } ) ;
58
58
}
59
59
60
60
// check if the config says we should log to the remote, and also if a remote endpoint was specified
@@ -149,7 +149,7 @@ loggingModule.factory(
149
149
}
150
150
151
151
if ( sendToNewRelic && $window . NREUM && $window . NREUM . noticeError ) {
152
- $window . NREUM . noticeError ( message , { desc : desc } ) ;
152
+ $window . NREUM . noticeError ( message , { desc : desc , url : $window . location . href } ) ;
153
153
}
154
154
155
155
// check if the config says we should log to the remote, and also if a remote endpoint was specified
You can’t perform that action at this time.
0 commit comments