diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-09-12 23:03:12 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-09-12 23:03:56 +0200 |
commit | c7054f374ca0d77df12df513426e583e7fba4e3c (patch) | |
tree | 0795f02b597f41f155fe5f3b8e480c92b9470a37 /lib/db.php | |
parent | 53b0e6dcc1c3d13ccf61ad35be74b774f97375d1 (diff) | |
download | nextcloud-server-c7054f374ca0d77df12df513426e583e7fba4e3c.tar.gz nextcloud-server-c7054f374ca0d77df12df513426e583e7fba4e3c.zip |
log details for an error when upgrading the schema
Diffstat (limited to 'lib/db.php')
-rw-r--r-- | lib/db.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php index 4317f798484..bfb8e4afbd0 100644 --- a/lib/db.php +++ b/lib/db.php @@ -457,7 +457,8 @@ class OC_DB { $previousSchema = self::$schema->getDefinitionFromDatabase(); if (PEAR::isError($previousSchema)) { $error = $previousSchema->getMessage(); - OC_Log::write('core', 'Failed to get existing database structure for upgrading ('.$error.')', OC_Log::FATAL); + $detail = $previousSchema->getDebugInfo(); + OC_Log::write('core', 'Failed to get existing database structure for upgrading ('.$error.', '.$detail.')', OC_Log::FATAL); return false; } |