Permalink
Browse files

captureException has a 4th parameter

Included in `Raven_Client` at getsentry/raven-php@002284b
  • Loading branch information...
1 parent 11f5ca1 commit 9a0b5c62b01e0ceb3f80866bf62a8f049bcd4fa7 @j0k3r committed Feb 1, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/sfRavenClient.class.php
@@ -2,14 +2,14 @@
class sfRavenClient extends Raven_Client
{
- public function captureException($exception, $culprit=null, $logger=null)
+ public function captureException($exception, $culprit = null, $logger = null, $vars = null)
{
if ($exception instanceof sfStopException)
{
return;
}
- parent::captureException($exception, $culprit, $logger);
+ parent::captureException($exception, $culprit, $logger, $vars);
}
protected function get_user_data()
@@ -72,7 +72,7 @@ protected function get_extra_data()
}
$extra['sf_user_credentials'] = $credentials;
- $extra['sf_user_attributes'] = $user->getAttributeHolder()->getAll();
+ $extra['sf_user_attributes'] = $user->getAttributeHolder()->getAll();
}
return $extra;

0 comments on commit 9a0b5c6

Please sign in to comment.