statikbe / craft

Craft CMS scaffolding package, for internal projects by Statik.be
MIT License
27 stars 5 forks source link

Add Sentry plugin #302

Closed HannahDeWachter closed 4 months ago

HannahDeWachter commented 5 months ago

Tegenwoordig hebben alle nieuwe projecten een onderhoudspakket en dus Sentry + uptime monitoring. Is het dan niet nuttig om de Sentry plugin al toe te voegen aan de base install?

HannahDeWachter commented 5 months ago

Hierbij ook de config file craft-sentry.php toevoegen:

<?php

return [
    'enabled'       => getenv("CRAFT_ENVIRONMENT") === "production",
    'anonymous'     => true,
    'clientDsn'     => "",
    'excludedCodes' => ['400', '404', '429'],
    'release'       => null,
];