This commit is contained in:
2023-10-17 14:50:45 +08:00
parent c3ab610d83
commit f4752062bd
+1 -1
View File
@@ -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);
}
}