Add link to dblog if enabled

Created on 27 January 2025, 2 months ago

Problem/Motivation

In 📌 Reduce amount of information relayed on error to the front-end Active , we changed the message that we show to users if there is an error. Part of that message is: See the error log for details.

It'd be great if we could detect if the dblog module is enable and offer a link in that message.

Steps to reproduce

You can do the changes seen in this commit https://git.drupalcode.org/project/project_browser/-/merge_requests/685/... to force the error (just don't commit them).

Proposed resolution

Detect if dblog is enabled, and in that case have the words error log point at it, otherwise leave the message as is.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain fjgarlin

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