Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Less hysterical about JSON errors
James Colecf3d9d26faa0
diff --git a/app/Console/Commands/DecryptDatabase.php b/app/Console/Commands/DecryptDatabase.phpindex f641a93ad0..a8f1bbed63 100644--- a/app/Console/Commands/DecryptDatabase.php+++ b/app/Console/Commands/DecryptDatabase.php@@ -204,11 +204,11 @@ class DecryptDatabase extends Commandtry {$newValue = json_decode($value, true, 512, JSON_THROW_ON_ERROR) ?? $value;} catch (JsonException $e) {- $message = sprintf('Could not JSON decode preference row #%d: %s', $id, $e->getMessage());+ $message = sprintf('Could not JSON decode preference row #%d: %s. This does not have to be a problem.', $id, $e->getMessage());$this->error($message);- Log::error($message);- Log::error($value);- Log::error($e->getTraceAsString());+ Log::warning($message);+ Log::warning($value);+ Log::warning($e->getTraceAsString());return;}