mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix issue causing error reporting to be incorrectly enabled (#14292)
for some reason, the reporting.error.dump merged with reporting.error to store an array instead of a bool.
This commit is contained in:
@@ -46,7 +46,7 @@ class ErrorReportingProvider extends \Facade\Ignition\IgnitionServiceProvider
|
||||
public function boot(): void
|
||||
{
|
||||
Flare::filterExceptionsUsing(function (\Exception $e) {
|
||||
if (Config::get('reporting.error.dump')) {
|
||||
if (Config::get('reporting.dump_errors')) {
|
||||
dump('Exception: ' . $e->getMessage(), $e->getFile() . ':' . $e->getLine());
|
||||
}
|
||||
|
||||
|
||||
@@ -4857,7 +4857,7 @@
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"reporting.error.dump": {
|
||||
"reporting.dump_errors": {
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user