mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-07 05:52:23 -04:00
fix check for expected error on havenod shut down
This commit is contained in:
parent
afc390e9cc
commit
5f5bf2b3e2
1 changed files with 1 additions and 1 deletions
|
@ -2792,7 +2792,7 @@ async function releaseHavenoProcess(havenod: HavenoClient, deleteAppDir?: boolea
|
||||||
try {
|
try {
|
||||||
await havenod.shutdownServer();
|
await havenod.shutdownServer();
|
||||||
} catch (err: any) {
|
} 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);
|
if (deleteAppDir) deleteHavenoInstance(havenod);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue