Skip to content

Commit

Permalink
Update the integration with raven to use the latest features in Raven
Browse files Browse the repository at this point in the history
  • Loading branch information
Roderik van der Veer committed Oct 15, 2012
1 parent e5a8969 commit 73175a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Raven/Raven.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
namespace Kunstmaan\SentryBundle\Raven;

use Raven_Client;
use Symfony\Component\HttpKernel\Kernel;

/**
* Raven
Expand All @@ -26,6 +27,11 @@ public function __construct($dsn, $environment)
if (isset($_SERVER["SERVER_NAME"])) {
$options['name'] = $_SERVER["SERVER_NAME"];
}
$options['tags'] = array(
'php_version' => phpversion(),
'symfony_version' => Kernel::VERSION
);
$options['trace'] = true;
parent::__construct($dsn, $options);
}

Expand Down

0 comments on commit 73175a1

Please sign in to comment.