SoCloz / SoclozMonitoringBundle

A profiling/monitoring Symfony2 bundle for production servers - alerts on exceptions, logs profiling data & sends data to statsd/graphite
MIT License
69 stars 6 forks source link

issue when statsd is disabled #10

Closed nicolasricci closed 9 years ago

nicolasricci commented 9 years ago

Hi,

statsd is currently mandatory on the 1.1.1 branch.

Fatal Error: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Catchable Fatal Error: Argument 2 passed to Socloz\MonitoringBundle\Listener\Exceptions::__construct() must be an instance of Socloz\MonitoringBundle\Notify\StatsD\StatsDInterface, null given

This dependency should be removed in the Exceptions constructor.

mhor commented 9 years ago

@nicolasricci could you check if this PR solve your problem

nicolasricci commented 9 years ago

@mhor yes it does fix the issue thanks. you can merge the PR.

mhor commented 9 years ago

Done :+1: Thanks for your feedback @nicolasricci