Don't block backend connection when a plugin migration triggers exception (#3188)

This commit is contained in:
Christophe Vuagniaux 2017-10-21 18:11:11 +02:00 committed by Luke Towers
parent d292eeb85e
commit dc16902fca

View File

@ -85,8 +85,13 @@ class Auth extends Controller
'password' => post('password')
], $remember);
// Load version updates
UpdateManager::instance()->update();
try {
// Load version updates
UpdateManager::instance()->update();
}
catch (Exception $ex) {
Flash::error($ex->getMessage());
}
// Log the sign in event
AccessLog::add($user);