mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix some code quality issues
This commit is contained in:
@@ -51,7 +51,7 @@ class Sha3SignatureGenerator implements SignatureGeneratorInterface
|
||||
$json = json_encode($message->message, JSON_THROW_ON_ERROR);
|
||||
} catch (JsonException $e) {
|
||||
Log::error('Could not generate hash.');
|
||||
Log::error(sprintf('JSON value: %s', $message->message));
|
||||
Log::error(sprintf('JSON value: %s', $json));
|
||||
Log::error($e->getMessage());
|
||||
Log::error($e->getTraceAsString());
|
||||
throw new FireflyException('Could not generate JSON for SHA3 hash.', 0, $e);
|
||||
|
Reference in New Issue
Block a user