More verbose error messages

Created on 13 January 2025, 10 days ago

Problem/Motivation

On verbose mode \Drupal\clamav\Scanner::scan() could report the error more verbosely, e.g. by including the error message from ClamAV.

Steps to reproduce

Proposed resolution

Instead of "The anti-virus scanner could not check the file, so the file cannot be uploaded. Contact the site administrator if this problem persists." the error message could be ""The anti-virus scanner could not check the file, because size limit exceeded, so the file cannot be uploaded. Contact the site administrator if this problem persists."

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇫🇮Finland sokru

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

Comments & Activities

Production build 0.71.5 2024