Skip to content

Commit 1bf56b8

Browse files
Merge pull request #62 from Rareloop/feature/support-ignition-config
Add support for Ignition config
2 parents b44b11a + c648938 commit 1bf56b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Exceptions/Handler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Rareloop\Lumberjack\Facades\Config;
1010
use Laminas\Diactoros\Response\HtmlResponse;
1111
use Psr\Http\Message\ServerRequestInterface;
12+
use Spatie\Ignition\Config\IgnitionConfig;
1213

1314
class Handler implements HandlerInterface
1415
{
@@ -42,6 +43,8 @@ public function render(ServerRequestInterface $request, Exception $e): ResponseI
4243
->runningInProductionEnvironment(!$isDebug)
4344
->register();
4445

46+
$ignition->setConfig(new IgnitionConfig(Config::get('ignition', [])));
47+
4548
ob_start();
4649

4750
$ignition->handleException($e);

0 commit comments

Comments
 (0)