I was wondering why the Bugsnag client isn't DI'd but created on the spot: https://github.com/interjar/bugsnag-magento2/blob/master/Plugin/ExceptionCatcher.php#L51-L54
Upside of it being DI'd in the constructor is that anyone can extend the Client? Are there any downsides to it?
I was wondering why the Bugsnag client isn't DI'd but created on the spot: https://github.com/interjar/bugsnag-magento2/blob/master/Plugin/ExceptionCatcher.php#L51-L54
Upside of it being DI'd in the constructor is that anyone can extend the Client? Are there any downsides to it?