Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add decrypt message.
James Coledc26ce308dd4
diff --git a/app/Repositories/Attachment/AttachmentRepository.php b/app/Repositories/Attachment/AttachmentRepository.phpindex 18f6427d01..2d1f89e464 100644--- a/app/Repositories/Attachment/AttachmentRepository.php+++ b/app/Repositories/Attachment/AttachmentRepository.php@@ -84,10 +84,10 @@ class AttachmentRepository implements AttachmentRepositoryInterfaceif ($disk->exists($file)) {$encryptedContent = (string)$disk->get($file);-try {$unencryptedContent = Crypt::decrypt($encryptedContent); // verified} catch (DecryptException $e) {+ Log::debug(sprintf('Could not decrypt attachment #%d but this is fine: %s', $attachment->id, $e->getMessage()));$unencryptedContent = $encryptedContent;}}