Skip to content

Commit e066f01

Browse files
address comments
1 parent aa353cd commit e066f01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

master.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,15 +365,16 @@ class AlAzureMaster {
365365
function(errStatus) {
366366
var status;
367367
if (errStatus) {
368-
master._azureContext.log.warn('Health check failed with', errStatus.details);
369368
if(typeof errStatus === 'string'){
369+
master._azureContext.log.warn('Health check failed with: ', errStatus);
370370
status = {
371371
status: 'error',
372372
details: [ errStatus ],
373373
// Set error code to code for custom health check error
374374
error_code: 'ALAZU000004'
375375
};
376376
} else {
377+
master._azureContext.log.warn('Health check failed with', errStatus.details);
377378
status = errStatus;
378379
}
379380
} else {

0 commit comments

Comments
 (0)