src/Telescope.php
public static function catch($e, $tags = [])
    {
        if ($e instanceof Throwable && ! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }

        event(new MessageLogged('error', $e->getMessage(), [
            'exception' => $e,
            'telescope' => $tags,
        ]));
    }
public static function catch($e, $tags = [])
    {
        if ($e instanceof Throwable && ! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }

        event(new MessageLogged('error', $e->getMessage(), [
            'exception' => $e,
            'telescope' => $tags,
        ]));
    }
public static function catch ( $ e , $ tags = [ ] ) { if ( $ e instanceof Throwable && ! $ e instanceof Exception ) { $ e = new FatalThrowableError ( $ e ) ; } event ( new MessageLogged ( 'error' , $ e -> getMessage ( ) , [ 'exception' => $ e , 'telescope' => $ tags , ] ) ) ; }
Record the given exception.

@param  \Throwable|\Exception  $e
@param  array  $tags
@return void
Record the given exception .