# Exception Handling

# Sentry

The Laravel Blueprint (opens new window) comes with a Sentry (opens new window) setup so you just have to enable it using the following command. It creates (config/sentry.php) and adds the DSN to your .env file. You can get your DNS key to publish during the creation of a project in sentry.

php artisan sentry:publish --dsn=https://examplePublicKey@o0.ingest.sentry.io/0

If you want to know more, check out the documentation (opens new window) and the setup laravel quick start guide for sentry (opens new window).

# GraphQL

The Laravel Blueprint (opens new window) comes with the tjventurini/graphql-exceptions (opens new window) package, so you should make use of them in your graphql queries and mutations.