RequestException not caught in MatomoAdminSettingsForm::validateUrl()

Created on 11 June 2025, about 2 months ago

The try-catch block in the validateUrl method of the MatomoAdminSettingsForm class does not correctly catch exceptions thrown by Guzzle when making HTTP requests. This issue may be caused by exceptions not being thrown as expected or by the mismatch between the caught exception type and the actual exception type. It is necessary to review the Guzzle configuration and adjust the exception handling to ensure proper error capturing and processing.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain Carlos Romero

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024