Sentry-laravel: Option to disable delaySendingUntilShutdown in HttpTransport

Created on 13 Jun 2020  路  2Comments  路  Source: getsentry/sentry-laravel

It would be great to have a config option to disable delaySendingUntilShutdown in HttpTransport because in some scenarios is most reliable to get rid of all this "async" black magic in PHP or just let the developer decide.

Most helpful comment

Sounds like it'll miss some notifications, we're talking about PHP you know ;)

All 2 comments

Sounds like it'll miss some notifications, we're talking about PHP you know ;)

We are already in the process of fasing that out, see: https://github.com/getsentry/sentry-php/blob/c4359c244b903212d8e2e23755c1087c5f362ff2/src/Transport/HttpTransport.php#L84-L86.

You can use the client builder decorator to register your own transport or set that flag if you need it today.

https://docs.sentry.io/platforms/php/laravel/#decorating-the-client-builder
https://docs.sentry.io/platforms/php/#transport

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrey-helldar picture andrey-helldar  路  6Comments

Dalabad picture Dalabad  路  3Comments

InstanceOfMichael picture InstanceOfMichael  路  6Comments

acidjazz picture acidjazz  路  4Comments

vladislavtkachenko picture vladislavtkachenko  路  4Comments