aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/db.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php
index 9899f30e75c..9f951d645e4 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -395,7 +395,8 @@ class OC_DB {
if (PEAR::isError($op)) {
$error = $op->getMessage();
- OC_Log::write('core','Failed to update database structure ('.$error.')',OC_Log::FATAL);
+ $detail = $op->getDebugInfo();
+ OC_Log::write('core','Failed to update database structure ('.$error.', '.$detail.')',OC_Log::FATAL);
return false;
}
return true;