Fix some code quality issues

This commit is contained in:
James Cole
2023-02-12 08:07:08 +01:00
parent 1fd455dbab
commit 2ad2d53f88
6 changed files with 4 additions and 19 deletions

View File

@@ -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);