pivx: Add expected error string for stopDaemon when .cookie exists.
This commit is contained in:
parent
6ae8651d1b
commit
842027f114
@ -1,3 +1,3 @@
|
|||||||
name = "basicswap"
|
name = "basicswap"
|
||||||
|
|
||||||
__version__ = "0.11.39"
|
__version__ = "0.11.40"
|
||||||
|
@ -657,7 +657,7 @@ class BasicSwap(BaseApp):
|
|||||||
time.sleep(i + 1)
|
time.sleep(i + 1)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
str_ex = str(ex)
|
str_ex = str(ex)
|
||||||
if 'Could not connect' in str_ex or 'Could not locate RPC credentials' in str_ex:
|
if 'Could not connect' in str_ex or 'Could not locate RPC credentials' in str_ex or 'couldn\'t connect to server' in str_ex:
|
||||||
if stopping:
|
if stopping:
|
||||||
for i in range(30):
|
for i in range(30):
|
||||||
# The lock file doesn't get deleted
|
# The lock file doesn't get deleted
|
||||||
@ -727,7 +727,7 @@ class BasicSwap(BaseApp):
|
|||||||
ci.initialiseWallet(root_key)
|
ci.initialiseWallet(root_key)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# < 0.21: sethdseed cannot set a new HD seed while still in Initial Block Download.
|
# < 0.21: sethdseed cannot set a new HD seed while still in Initial Block Download.
|
||||||
self._log.error('initialiseWallet failed: {}'.format(str(e)))
|
self.log.error('initialiseWallet failed: {}'.format(str(e)))
|
||||||
if raise_errors:
|
if raise_errors:
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user