FIX Ensure delegated requests are continued when DB builds fail in middleware

This commit is contained in:
Robbie Averill 2017-09-07 15:54:51 +12:00
parent adfa7257d7
commit 56accd0856
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ class InitStateMiddleware implements HTTPMiddleware
return $delegate($request);
} catch (DatabaseException $ex) {
// No-op, database is not ready
// Database is not ready
return $delegate($request);
} finally {
// Persist to the session if using the CMS
if ($state->getUseSessions()) {