public static function register($client = null)
    {
        $handler = new static($client instanceof Client ? $client : Client::make($client));

        $handler->registerBugsnagHandlers(false); // don't preserve previous handlers

        return $handler;
    }