Better logging
This commit is contained in:
parent
874aee5baa
commit
b903b2ee82
|
@ -313,9 +313,11 @@ class NNTPServer extends NNTPServerBase {
|
|||
],
|
||||
err => {
|
||||
if(err) {
|
||||
this.log.error( { error : err.message, messageId }, 'Failed to load article');
|
||||
this.log.error( { error : err.message, messageUuid }, 'Failed to load article');
|
||||
return resolve(null);
|
||||
}
|
||||
|
||||
this.log.info( { messageUuid, messageId, areaTag : message.areaTag }, 'Serving article');
|
||||
return resolve(message);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue