Closed tractorcow closed 7 years ago
See https://github.com/silverstripe/silverstripe-subsites/blob/master/code/Middleware/InitStateMiddleware.php#L18
As we are no longer using database_is_ready() we need a catch (DatabaseException) in all middlware to allow dev/build to pass.
cc @robbieaverill
I've fixed this in #294 but could also implement a more robust solution
Fixed with https://github.com/silverstripe/silverstripe-subsites/commit/65f85faff6ee0d8598828351e85bbf4dbabbed45
See https://github.com/silverstripe/silverstripe-subsites/blob/master/code/Middleware/InitStateMiddleware.php#L18
As we are no longer using database_is_ready() we need a catch (DatabaseException) in all middlware to allow dev/build to pass.