Commit 3056b109 authored by Evan Prodromou's avatar Evan Prodromou

Quietly skip trying to load config if there's an error in DB

parent 9948523c
......@@ -59,9 +59,13 @@ class Config extends Managed_DataObject
static function loadSettings()
{
$settings = self::_getSettings();
if (!empty($settings)) {
self::_applySettings($settings);
try {
$settings = self::_getSettings();
if (!empty($settings)) {
self::_applySettings($settings);
}
} catch (Exception $e) {
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment