Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -4,6 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\View\Exceptions;
|
||||
|
||||
use App\Framework\Exception\ExceptionContext;
|
||||
use App\Framework\Exception\FrameworkException;
|
||||
|
||||
final class TemplateNotFoundException extends FrameworkException
|
||||
@@ -16,12 +17,16 @@ final class TemplateNotFoundException extends FrameworkException
|
||||
) {
|
||||
parent::__construct(
|
||||
message: "Template \"$template\" nicht gefunden ($file).",
|
||||
context: new ExceptionContext(
|
||||
operation: 'template_render',
|
||||
component: 'view_engine',
|
||||
data: [
|
||||
'template' => $template,
|
||||
'file' => $file,
|
||||
]
|
||||
),
|
||||
code: $code,
|
||||
previous: $previous,
|
||||
context: [
|
||||
'template' => $template,
|
||||
'file' => $file
|
||||
]
|
||||
previous: $previous
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user