From 9bb26fbbd3fa09a439e15d746c81c08f4130d8d1 Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Tue, 31 Oct 2017 11:26:28 +0100 Subject: [PATCH] Add Sentry 1.0 --- .../1.0/config/packages/prod/sentry.yaml | 2 ++ sentry/sentry-symfony/1.0/config/packages/sentry.yaml | 8 ++++++++ sentry/sentry-symfony/1.0/manifest.json | 11 +++++++++++ 3 files changed, 21 insertions(+) create mode 100644 sentry/sentry-symfony/1.0/config/packages/prod/sentry.yaml create mode 100644 sentry/sentry-symfony/1.0/config/packages/sentry.yaml create mode 100644 sentry/sentry-symfony/1.0/manifest.json diff --git a/sentry/sentry-symfony/1.0/config/packages/prod/sentry.yaml b/sentry/sentry-symfony/1.0/config/packages/prod/sentry.yaml new file mode 100644 index 00000000..342036fe --- /dev/null +++ b/sentry/sentry-symfony/1.0/config/packages/prod/sentry.yaml @@ -0,0 +1,2 @@ +sentry: + dsn: '%env(SENTRY_DSN)%' diff --git a/sentry/sentry-symfony/1.0/config/packages/sentry.yaml b/sentry/sentry-symfony/1.0/config/packages/sentry.yaml new file mode 100644 index 00000000..e94da2d6 --- /dev/null +++ b/sentry/sentry-symfony/1.0/config/packages/sentry.yaml @@ -0,0 +1,8 @@ +sentry: + options: + curl_method: async + +# skip_capture: # To skip certain exceptions, specify a list below +# - 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' +# - 'Symfony\Component\HttpKernel\Exception\BadRequestHttpException' +# - 'Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException' diff --git a/sentry/sentry-symfony/1.0/manifest.json b/sentry/sentry-symfony/1.0/manifest.json new file mode 100644 index 00000000..c96ec90e --- /dev/null +++ b/sentry/sentry-symfony/1.0/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Sentry\\SentryBundle\\SentryBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SENTRY_DSN": "" + } +}