public function boot()
    {
        // If current environment is in the array of "notify release stages",
        // we'll re-bind the default Exception Handler to use our Bugsnag Handler
        // so exceptions will be reported to Bugsnag.
        if (in_array($this->app->environment(), config('nodes.bugsnag.notify_release_stages', []))) {
            $this->app->singleton('Illuminate\Contracts\Debug\ExceptionHandler', function ($app) {
                return app(BugsnagHandler::class);
            });
        }

        // Register publish groups
        $this->publishGroups();

        // Failed jobs listener
        $this->registerFailedJobsListener();
    }