Skip to content
Snippets Groups Projects
Commit 08205c63 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

errors are already logged

parent 7ed678b0
Branches
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment