Error Reporting, strict check (#14293)

Strict check to reduce chances for accidental enabling.
This commit is contained in:
Tony Murray
2022-09-05 02:00:12 -05:00
committed by GitHub
parent ad9868b8b3
commit c592811477

View File

@ -92,7 +92,7 @@ class ErrorReportingProvider extends \Facade\Ignition\IgnitionServiceProvider
$this->reportingEnabled = false; // don't cache before config is loaded
// check the user setting
if (! Config::get('reporting.error')) {
if (Config::get('reporting.error') !== true) {
\Log::debug('Reporting disabled by user setting');
return false;