errors are already logged
This commit is contained in:
parent
7ed678b04d
commit
08205c63f9
|
@ -71,7 +71,6 @@ class Adapter {
|
|||
$entry = 'DB Error: "'.$e->getMessage() . '"<br />';
|
||||
$entry .= 'Offending command was: ' . $query.'<br />';
|
||||
\OC_Log::write('core', $entry, \OC_Log::FATAL);
|
||||
error_log('DB error: ' . $entry);
|
||||
throw new \OC\HintException($entry);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ class AdapterSqlite extends Adapter {
|
|||
$entry = 'DB Error: "'.$e->getMessage() . '"<br />';
|
||||
$entry .= 'Offending command was: ' . $query . '<br />';
|
||||
\OC_Log::write('core', $entry, \OC_Log::FATAL);
|
||||
error_log('DB error: '.$entry);
|
||||
throw new \OC\HintException($entry);
|
||||
}
|
||||
|
||||
|
@ -60,7 +59,6 @@ class AdapterSqlite extends Adapter {
|
|||
$entry = 'DB Error: "'.$e->getMessage() . '"<br />';
|
||||
$entry .= 'Offending command was: ' . $query.'<br />';
|
||||
\OC_Log::write('core', $entry, \OC_Log::FATAL);
|
||||
error_log('DB error: ' . $entry);
|
||||
throw new \OC\HintException($entry);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue