File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
** Enhancements**
4
4
5
5
- something about issue
6
+ - read/write/notification: on error debug points to the correct node and varame in debug message
6
7
7
8
### 1.1.22: Maintenance Release
8
9
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ module.exports = function (RED) {
227
227
node . notificationSubscribed [ n . symname ] . push ( n )
228
228
node . adsClient . notify ( handle , function ( err ) {
229
229
if ( err ) {
230
- node . error ( util . format ( ' Ads Register Notification %s', err ) )
230
+ n . error ( util . format ( " Ads Register Notification ' %s' %s" , n . symname , err ) )
231
231
} else {
232
232
node . notificationSubscribed [ n . symname ] . map ( ( no ) => {
233
233
no . notifyHandle = handle . notifyHandle
@@ -314,7 +314,7 @@ module.exports = function (RED) {
314
314
node . adsClient . write ( handle ,
315
315
function ( err ) {
316
316
if ( err ) {
317
- node . error ( util . format ( ' Ads write %s', err ) )
317
+ n . error ( util . format ( " Ads write ' %s' %s" , config . symname , err ) )
318
318
}
319
319
} )
320
320
}
@@ -346,7 +346,7 @@ module.exports = function (RED) {
346
346
debug ( 'read:' , handle )
347
347
node . adsClient . read ( handle , function ( err , handle ) {
348
348
if ( err ) {
349
- node . error ( util . format ( ' Ads read %s', err ) )
349
+ n . error ( util . format ( " Ads read ' %s' %s" , config . symname , err ) )
350
350
} else {
351
351
cb ( handle )
352
352
}
You can’t perform that action at this time.
0 commit comments