diff --git a/lib/db.php b/lib/db.php index 9899f30e75c45eb13b23860f174b74c56a7e929a..9f951d645e4f6277a05e8c0723fe101237c4a5bb 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;