Skip to content

Commit 4f4dffd

Browse files
author
Amoki
committed
update logger
1 parent bc5e351 commit 4f4dffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ module.exports.createServer = function(config) {
5454
function sigtermYaqs() {
5555
server.yaqsClient.stopAllQueues(function(err) {
5656
if(err) {
57-
console.warn(err);
57+
config.errLogger(err);
5858
}
5959
childs.stopAllChilds();
60-
console.log('YAQS has stopped.');
60+
config.logger('YAQS has stopped.');
6161
process.exit(0);
6262
});
6363
}

0 commit comments

Comments
 (0)