additional logging when db upgrade fails
This commit is contained in:
parent
68fd5a5d58
commit
8d475debe0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue