mirror of https://gitee.com/bigwinds/arangodb
output exit signal
This commit is contained in:
parent
df3c4c8d4d
commit
2d4e5ababc
|
@ -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.');
|
||||
|
|
Loading…
Reference in New Issue