sentry_link 0.0.3 icon indicating copy to clipboard operation
sentry_link: ^0.0.3 copied to clipboard

Automatic capture of exceptions and GraphQL errors for the gql eco-system, like graphql and ferry

Sentry Link (GraphQL) #

Integration for the gql_link package to collect error reports for GraphQL requests. This is used by a wide variety of GraphQL libraries like ferry or graphql.

Usage #

Just add SentryLink.link() to your links.

final link = Link.from([
    SentryLink.link(),
    AuthLink(getToken: () async => 'Bearer $personalAccessToken'),
    HttpLink('https://api.github.com/graphql'),
]);

In addition to that, you can add GqlEventProcessor to Sentry's event processor, to improve support for nested LinkExceptions.

A GraphQL error will be reported like the following screenshot:

0
likes
120
pub points
65%
popularity

Publisher

verified publisher iconuekoetter.dev

Automatic capture of exceptions and GraphQL errors for the gql eco-system, like graphql and ferry

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

gql, gql_error_link, gql_exec, gql_link, sentry

More

Packages that depend on sentry_link