mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
better error-message
This commit is contained in:
parent
8a0b80d64b
commit
ab4eb688c8
@ -87,8 +87,10 @@ class TransactionTransformer implements BankRevenueInterface
|
||||
$transactionId = $transaction["transactionId"];
|
||||
else if (array_key_exists('internalTransactionId', $transaction))
|
||||
$transactionId = $transaction["internalTransactionId"];
|
||||
else
|
||||
else {
|
||||
nlog(`Invalid Input for nordigen transaction transformer: ` . $transaction);
|
||||
throw new \Exception('invalid dataset: missing transactionId - Please report this error to the developer');
|
||||
}
|
||||
|
||||
$amount = (float) $transaction["transactionAmount"]["amount"];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user