|
@@ -68,7 +68,7 @@ function initCallback (err, msg) {
|
68
|
68
|
|
69
|
69
|
if(!fabricInitialized) {
|
70
|
70
|
CallStats.initializeFailed = true;
|
71
|
|
- console.log("callstats fabric not initilized", ret.message);
|
|
71
|
+ logger.log("callstats fabric not initilized", ret.message);
|
72
|
72
|
return;
|
73
|
73
|
}
|
74
|
74
|
|
|
@@ -233,7 +233,9 @@ CallStats.prototype.pcCallback = _try_catch(function (err, msg) {
|
233
|
233
|
if (!callStats) {
|
234
|
234
|
return;
|
235
|
235
|
}
|
236
|
|
- logger.log("Monitoring status: "+ err + " msg: " + msg);
|
|
236
|
+
|
|
237
|
+ if (err !== 'success')
|
|
238
|
+ logger.error("Monitoring status: "+ err + " msg: " + msg);
|
237
|
239
|
});
|
238
|
240
|
|
239
|
241
|
/**
|