File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -639,6 +639,12 @@ protected static function setExceptionHandler(string $instance) : ExceptionHandl
639
639
if (isset ($ config ['show_log_id ' ])) {
640
640
$ service ->setShowLogId ($ config ['show_log_id ' ]);
641
641
}
642
+ if (isset ($ config ['json_flags ' ])) {
643
+ $ service ->setJsonFlags ($ config ['json_flags ' ]);
644
+ }
645
+ if (isset ($ config ['hidden_inputs ' ]) && $ config ['hidden_inputs ' ] !== []) {
646
+ $ service ->setHiddenInputs (...$ config ['hidden_inputs ' ]);
647
+ }
642
648
return static ::setService ('exceptionHandler ' , $ service , $ instance );
643
649
}
644
650
Original file line number Diff line number Diff line change 17
17
'initialize ' => true ,
18
18
'search_engine ' => 'bing ' ,
19
19
'show_log_id ' => true ,
20
+ 'json_flags ' => \JSON_PRETTY_PRINT | \JSON_THROW_ON_ERROR ,
21
+ 'hidden_inputs ' => ['$_ENV ' ],
20
22
'logger_instance ' => 'default ' ,
21
23
'language_instance ' => 'default ' ,
22
24
],
You can’t perform that action at this time.
0 commit comments