mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Minor, ensure didProcessRequest() is called even for exceptions.
This commit is contained in:
parent
7f98e3a8bd
commit
f614670de9
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,6 @@ try {
|
|||
if (!$response) {
|
||||
$controller->willProcessRequest($uri_data);
|
||||
$response = $controller->processRequest();
|
||||
$response = $controller->didProcessRequest($response);
|
||||
}
|
||||
} catch (AphrontRedirectException $ex) {
|
||||
$response = id(new AphrontRedirectResponse())
|
||||
|
@ -203,6 +202,7 @@ try {
|
|||
}
|
||||
|
||||
try {
|
||||
$response = $controller->didProcessRequest($response);
|
||||
$response = $application->willSendResponse($response, $controller);
|
||||
$response->setRequest($request);
|
||||
$response_string = $response->buildResponseString();
|
||||
|
|
Loading…
Reference in a new issue