From 30b5c409614d6c9d1b596b2184e666b09d97ee09 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Wed, 30 Aug 2023 12:33:39 -0500 Subject: [PATCH] Add ui description for reporting dump_errors (#15264) * Add ui description for reporting dump_errors People were enabling this setting and breaking their installs for some reason. Hopefully, this makes them think a little before enabling this setting. It is intended for debugging purposes only. * Fix style --- html/mix-manifest.json | 2 +- lang/en/settings.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/html/mix-manifest.json b/html/mix-manifest.json index 394b587c5f..a538cd0b33 100644 --- a/html/mix-manifest.json +++ b/html/mix-manifest.json @@ -5,7 +5,7 @@ "/css/app.css": "/css/app.css?id=ddaa1664b2b7b9dc3293", "/js/vendor.js": "/js/vendor.js?id=9a257386f44b3d7f29bc", "/js/lang/de.js": "/js/lang/de.js?id=d74df23e729c5dabfee8", - "/js/lang/en.js": "/js/lang/en.js?id=4ea5e56f2ff6fbab1244", + "/js/lang/en.js": "/js/lang/en.js?id=98442c0577fed73bc90c", "/js/lang/fr.js": "/js/lang/fr.js?id=22902d30358443ef2877", "/js/lang/it.js": "/js/lang/it.js?id=6220e138068a7e58387f", "/js/lang/ru.js": "/js/lang/ru.js?id=f6b7c078755312a0907c", diff --git a/lang/en/settings.php b/lang/en/settings.php index 41360d6249..6c58a82240 100644 --- a/lang/en/settings.php +++ b/lang/en/settings.php @@ -1275,6 +1275,10 @@ return [ 'description' => 'Send Usage Reports', 'help' => 'Reports usage and versions to LibreNMS. To delete anonymous stats, visit the about page. You can view stats at https://stats.librenms.org', ], + 'dump_errors' => [ + 'description' => 'Dump debug errors (Will break your install)', + 'help' => 'Dump out errors that are normally hidden so you as a developer can find and fix the possible issues.', + ], ], 'route_purge' => [ 'description' => 'Route entries older than',