Skip to content

Commit

Permalink
Update error handler to support customer response headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nguereza-tony committed Nov 20, 2023
1 parent 532c2a0 commit e64509b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/Middleware/MaintenanceMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ public function process(
);

$httpException->setTitle('Service Unavailable')
->setDescription($message);
->setDescription($message)
->setHeaders($this->getHeaders($data));

// TODO Add headers
throw $httpException;
Expand Down

0 comments on commit e64509b

Please sign in to comment.