Skip to content

Instantly share code, notes, and snippets.

@JesseObrien
Created March 14, 2014 20:18
Show Gist options
  • Save JesseObrien/9555922 to your computer and use it in GitHub Desktop.
Save JesseObrien/9555922 to your computer and use it in GitHub Desktop.
Add sentry exceptions to Laravel.
"require": {
"raven/raven": "0.8.*@dev"
}
App::error(function(Exception $exception, $code){
$client = new Raven_Client(Config::get('app.sentry_key'));
$client->captureException($e);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment