Первичная интеграция логирования ошибок в sentry

This commit is contained in:
ErickSkrauch
2016-11-22 01:47:41 +03:00
parent 5de6fa91c8
commit 225f2fd3cf
4 changed files with 26 additions and 1 deletions

View File

@@ -20,6 +20,15 @@ return [
'class' => yii\swiftmailer\Mailer::class,
'viewPath' => '@common/mail',
],
'sentry' => [
'class' => mito\sentry\SentryComponent::class,
'dsn' => 'https://9f37c63079e24f35b585ab61dd7ee068:b501bfc8d9fc49ccadbf16731705b222@sentry.ely.by/3',
'environment' => YII_ENV_DEV ? 'development' : 'production',
'jsNotifier' => false,
'client' => [
'curl_method' => 'async',
],
],
'security' => [
'passwordHashStrategy' => 'password_hash',
],