Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unusable stack trace (crashed in non-app) #59

Open
dels07 opened this issue Mar 30, 2022 · 0 comments
Open

Unusable stack trace (crashed in non-app) #59

dels07 opened this issue Mar 30, 2022 · 0 comments

Comments

@dels07
Copy link

dels07 commented Mar 30, 2022

Hi there,

I tried to configure sentry for yii2 project in our company, here is the configuration used

"notamedia/yii2-sentry": "dev-master",
[
    'class' => 'notamedia\sentry\SentryTarget',
     'dsn' => env('SENTRY_DSN'),
    'context' => true,
    'clientOptions' => [
        'environment' => env('SENTRY_ENV'),
        'attach_stacktrace' => true
    ],
    'logVars' => [],
    'levels' => ['error'],
    'except' => ['yii\web\Session*', 'yii\db\Command*', 'yii\db\Connection\*', 'yii\filters\*', 'yii\db\Exception', 'yii\base\ErrorException*','yii\web\HttpException:404','yii\web\HttpException:400'],
],

However the resulting stack trace are only displaying result from this package and Yii Logger
Screen Shot 2022-03-30 at 16 28 13
Screen Shot 2022-03-30 at 16 29 55

Can you help with correct setup to have usable stack trace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant