Permalink
Browse files

grab the class appropriately

  • Loading branch information...
1 parent d2e2487 commit 0a223e1b4097e0393aee5c3622a4347321e4221d @rich rich committed Jan 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Hoptoad.php
View
@@ -53,7 +53,7 @@ public static function exceptionHandler($exception)
{
$trace = Hoptoad::tracer($exception->getTrace());
- Hoptoad::notifyHoptoad(HOPTOAD_API_KEY, $exception->getMessage(), $exception->getFile(), $exception->getLine(), $trace, null, HOPTOAD_APP_ENVIRONMENT);
+ Hoptoad::notifyHoptoad(HOPTOAD_API_KEY, $exception->getMessage(), $exception->getFile(), $exception->getLine(), $trace, get_class($exception), HOPTOAD_APP_ENVIRONMENT);
}
/**

0 comments on commit 0a223e1

Please sign in to comment.