errors are already logged

This commit is contained in:
Arthur Schiwon 2014-11-14 16:59:54 +01:00
parent 7ed678b04d
commit 08205c63f9
2 changed files with 0 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);
}