1
0
Fork 0

output exit signal

This commit is contained in:
Wilfried Goesgens 2016-10-06 18:19:16 +02:00
parent df3c4c8d4d
commit 2d4e5ababc
1 changed files with 2 additions and 2 deletions

View File

@ -553,7 +553,7 @@ function checkArangoAlive (arangod, options) {
)
) {
arangod.exitStatus = res;
analyzeServerCrash(arangod, options, 'health Check');
analyzeServerCrash(arangod, options, 'health Check - ' + res.signal);
}
}
@ -1268,7 +1268,7 @@ function shutdownInstance (instanceInfo, options) {
}
} else if (arangod.exitStatus.status !== 'TERMINATED') {
if (arangod.exitStatus.hasOwnProperty('signal')) {
analyzeServerCrash(arangod, options, 'instance Shutdown');
analyzeServerCrash(arangod, options, 'instance Shutdown - ' + arangod.exitStatus.signal);
}
} else {
print('Server shutdown: Success.');