mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00
Config: Add configuration option to define custom user-facing general error message for certain error types (#70023)
--------- Co-authored-by: Summer Wollin <summer.wollin@grafana.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
This commit is contained in:
@ -1249,6 +1249,10 @@ Options are "debug", "info", "warn", "error", and "critical". Default is `info`.
|
||||
Optional settings to set different levels for specific loggers.
|
||||
For example: `filters = sqlstore:debug`
|
||||
|
||||
### user_facing_default_error
|
||||
|
||||
Use this configuration option to set the default error message shown to users. This message is displayed instead of sensitive backend errors, which should be obfuscated. The default message is `Please inspect the Grafana server log for details.`.
|
||||
|
||||
<hr>
|
||||
|
||||
## [log.console]
|
||||
|
Reference in New Issue
Block a user