Carry headers through the handler

This commit is contained in:
Nabeel Shahzad
2019-08-22 12:26:46 -04:00
parent dd2b297cc5
commit 3d6a29795b
2 changed files with 6 additions and 6 deletions

View File

@@ -40,9 +40,7 @@ class GenericException extends HttpException
public function getErrorMetadata(): array
{
$metadata = [];
$metadata['error'] = [
'original_exception' => get_class($this->exception),
];
$metadata['original_exception'] = get_class($this->exception);
// Only add trace if in dev
if (config('app.env') === 'dev') {