Add more information to the EncryptException

Created on 11 August 2023, over 1 year ago

Problem/Motivation

Right now we get this in the logs:

Drupal\encrypt\Exception\EncryptException: i Drupal\real_aes\Plugin\EncryptionMethod\RealAESEncryptionMethod->decrypt() (rad 65 av /app/backend/web/modules/contrib/real_aes/src/Plugin/EncryptionMethod/RealAESEncryptionMethod.php).

This does not give us much info about the error.

Steps to reproduce

Proposed resolution

Pass the message from the iner exception.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇪🇸Spain edurenye

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024