Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x

This commit is contained in:
denise 2012-06-08 12:14:26 -04:00
commit e6336044ed

View file

@ -66,7 +66,7 @@ class Application_Model_Preference
} catch (Exception $e){ } catch (Exception $e){
header('HTTP/1.0 503 Service Unavailable'); header('HTTP/1.0 503 Service Unavailable');
Logging::log("Could not connect to database."); Logging::log("Could not connect to database: ".$e->getMessage());
exit; exit;
} }
@ -104,7 +104,7 @@ class Application_Model_Preference
} }
} catch (Exception $e) { } catch (Exception $e) {
header('HTTP/1.0 503 Service Unavailable'); header('HTTP/1.0 503 Service Unavailable');
Logging::log("Could not connect to database."); Logging::log("Could not connect to database: ".$e->getMessage());
exit; exit;
} }
} }