mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +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:
parent
04b7b1cb03
commit
ad9868b8b3
@ -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"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user