Skip to content

Commit

Permalink
environment addon
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzotikov committed Nov 12, 2024
1 parent 5a8a312 commit 6896bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Catcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace HawkBundle;

use Hawk\Addons\Headers;
use Hawk\Addons\Hostname;
use Hawk\Addons\Environment;
use Hawk\EventPayloadBuilder;
use Hawk\Handler;
use Hawk\Options;
Expand Down Expand Up @@ -48,7 +48,7 @@ public function __construct(array $options, TransportInterface $transport)
*/
$builder = new EventPayloadBuilder($stacktraceBuilder);
$builder->registerAddon(new Headers());
$builder->registerAddon(new Hostname());
$builder->registerAddon(new Environment());

$this->handler = new Handler($options, $transport, $builder);

Expand Down

0 comments on commit 6896bb1

Please sign in to comment.