Import statements and update configuration.

This commit is contained in:
James Cole
2025-05-27 16:57:36 +02:00
parent 7c04c4c2bc
commit c074fec0a7
165 changed files with 530 additions and 335 deletions

View File

@@ -51,6 +51,8 @@ use FireflyIII\User;
use FireflyIII\Validation\AccountValidator;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
use Exception;
use JsonException;
/**
* Class TransactionJournalFactory
@@ -76,7 +78,7 @@ class TransactionJournalFactory
/**
* Constructor.
*
* @throws \Exception
* @throws Exception
*/
public function __construct()
{
@@ -324,7 +326,7 @@ class TransactionJournalFactory
try {
$json = \Safe\json_encode($dataRow, JSON_THROW_ON_ERROR);
} catch (\JsonException $e) {
} catch (JsonException $e) {
Log::error(sprintf('Could not encode dataRow: %s', $e->getMessage()));
$json = microtime();
}