[FIX] Catch new jsonRPC exception

This commit is contained in:
Sebastian Grewe 2014-01-10 16:14:17 +01:00
parent ead36cfd07
commit 187721f48c

View File

@ -55,7 +55,7 @@ if($send > $dThreshold) {
if (!empty($sendAddress)) {
try {
$bitcoin->sendtoaddress($sendAddress, $send);
} catch (BitcoinClientException $e) {
} catch (Exception $e) {
$log->logError('Failed to send coins to address, skipping liquid assets payout');
}
$log->logInfo('Sent out ' . $send . ' liquid assets');