Skip to content

Commit

Permalink
And for Laravel 4
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbenson committed Mar 14, 2016
1 parent dfab284 commit efa5d24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Laravel/Provider/StatsdServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ function ($app) {
if (isset($app['config']['statsd.namespace'])) {
$options['namespace'] = $app['config']['statsd.namespace'];
}
if (isset($app['config']['statsd.throwConnectionExceptions'])) {
$options['throwConnectionExceptions'] = $app['config']['statsd.throwConnectionExceptions'];
}

// Create
$statsd = new Statsd();
Expand Down

0 comments on commit efa5d24

Please sign in to comment.