diff --git a/Handler/OnRequest.php b/Handler/OnRequest.php index 9be8494..3c744f8 100644 --- a/Handler/OnRequest.php +++ b/Handler/OnRequest.php @@ -105,7 +105,7 @@ class OnRequest implements OnRequestInterface } catch (\Throwable $throwable) { $PsrResponse = $this->exception->emit($throwable, di(ConstrictResponse::class)); } finally { - $this->emitter->sender($PsrResponse, $response); + $this->emitter->sender($PsrResponse, $response, $PsrRequest); } }