[FIX] Catch new jsonRPC exception
This commit is contained in:
parent
ead36cfd07
commit
187721f48c
@ -55,7 +55,7 @@ if($send > $dThreshold) {
|
|||||||
if (!empty($sendAddress)) {
|
if (!empty($sendAddress)) {
|
||||||
try {
|
try {
|
||||||
$bitcoin->sendtoaddress($sendAddress, $send);
|
$bitcoin->sendtoaddress($sendAddress, $send);
|
||||||
} catch (BitcoinClientException $e) {
|
} catch (Exception $e) {
|
||||||
$log->logError('Failed to send coins to address, skipping liquid assets payout');
|
$log->logError('Failed to send coins to address, skipping liquid assets payout');
|
||||||
}
|
}
|
||||||
$log->logInfo('Sent out ' . $send . ' liquid assets');
|
$log->logInfo('Sent out ' . $send . ' liquid assets');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user