mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
fix check for expected error on havenod shut down
This commit is contained in:
parent
afc390e9cc
commit
5f5bf2b3e2
@ -2792,7 +2792,7 @@ async function releaseHavenoProcess(havenod: HavenoClient, deleteAppDir?: boolea
|
||||
try {
|
||||
await havenod.shutdownServer();
|
||||
} catch (err: any) {
|
||||
assert.equal(err.message, OFFLINE_ERR_MSG);
|
||||
assert(err.message.indexOf(OFFLINE_ERR_MSG) >= 0, "Unexpected error shutting down server: " + err.message);
|
||||
}
|
||||
if (deleteAppDir) deleteHavenoInstance(havenod);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user