Attempt at fixing Sentry error logging

This commit is contained in:
Albert Santoni 2015-06-16 14:35:29 -04:00
parent 709b9bbeec
commit 90bd0a1ab4
3 changed files with 9 additions and 5 deletions

View file

@ -100,10 +100,10 @@ try {
echo "<pre>";
echo $e->getTraceAsString();
echo "</pre>";
Logging::info($e->getMessage());
Logging::info($e->getTraceAsString());
Logging::error($e->getMessage());
Logging::error($e->getTraceAsString());
} else {
Logging::info($e->getTrace());
Logging::error($e->getTrace());
}
throw $e;
}