CC-4389: Convert all PHP errors to throw exceptions instead

-don't throw exception for suppressed errors.
This commit is contained in:
Martin Konecny 2012-09-11 12:03:52 -04:00
parent 45795cfbb6
commit bcc095e924
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ try {
}
} catch (Exception $e) {
echo $e->getMessage();
echo "<pre>";
echo $e->getTraceAsString();
echo "</pre>";
Logging::info($e->getMessage());
Logging::info($e->getTraceAsString());
}