public function notifyOnException(\Exception $exception, $metadata = null, $severity = 'error')
    {
        if ($this->enabled) {
            $this->bugsnagClient->notifyException($exception, $metadata, $severity);
        }
    }
public function notifyOnException(\Exception $exception, $metadata = null, $severity = 'error')
    {
        if ($this->enabled) {
            $this->bugsnagClient->notifyException($exception, $metadata, $severity);
        }
    }
public function notifyOnException ( \ Exception $ exception , $ metadata = null , $ severity = 'error' ) { if ( $ this -> enabled ) { $ this -> bugsnagClient -> notifyException ( $ exception , $ metadata , $ severity ) ; } }
Deal with Exceptions

@param \Exception $exception
@param array|null $metadata
@param string $severity
Deal with Exceptions