Page MenuHomePhabricator

sentry-php version doesn't support public DSN
Open, LowestPublic

Description

Sentry use public DSN for projects since v9.
Right now Extension:Sentry use sentry/sentry v0.12.1, which doesn't support public DSN.

It means that currently nobody can use Extension:Sentry on Sentry projects with public DSN, as it results in:

Fatal error: Uncaught InvalidArgumentException: Invalid Sentry DSN: <somedsn> in /var/www/html/extensions/Sentry/vendor/sentry/sentry/lib/Raven/Client.php:151
Stack trace:
#0 /var/www/html/extensions/Sentry/vendor/sentry/sentry/lib/Raven/Client.php(45): Raven_Client::parseDSN(

Support for that was added since sentry-php v1.x:
https://github.com/getsentry/sentry-php/pull/615

It could be a good idea to update sentry/sentry dependency up to v1.10.0.