mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 10:42:41 -05:00
code review feedback and merge from main
This commit is contained in:
@@ -1565,9 +1565,8 @@ class Notification(db.Model):
|
||||
try:
|
||||
return encryption.decrypt(self._personalisation)
|
||||
except EncryptionError:
|
||||
current_app.logger.error(
|
||||
current_app.logger.exception(
|
||||
"Error decrypting notification.personalisation, returning empty dict",
|
||||
exc_info=True,
|
||||
)
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user