getsentry / sentry-symfony

The official Symfony SDK for Sentry (sentry.io)
https://sentry.io
MIT License
693 stars 169 forks source link

Release is not reported correctly #139

Closed andrewtch closed 6 years ago

andrewtch commented 6 years ago

Hi,

if have release configured under options. Sentry sees the release under sentry.options:

image

Still, events arrive without release:

image

any clue why this could happen?

Bundle 2.0.3.

Jean85 commented 6 years ago

That's really strange! What version of the base client are you using? Is it updated?

andrewtch commented 6 years ago

I'm not requiring Raven explicitly so it is pulled as sentry-symfony dependency - so it is ^1.9 I suppose. Will check a bit later.

Jean85 commented 6 years ago

BTW, I see a server: null in the options, are you sure that you're debugging that stuff in the same environment?

andrewtch commented 6 years ago

Ah, yeah, our CD foobar'd a bit cache warmer pass so cache got warmed up twice, loosing the release key in the actual container because it generated cache twice, one in native fs and other symlinked...it's complicated )

Sorry for bothering - was just frustrated a bit yesterday )

As for server: null issue it is perfectly fine, because the server just comes from this line - https://github.com/getsentry/sentry-symfony/blob/master/src/DependencyInjection/Configuration.php#L56 - and gets resolved in runtime (I see the actual node name in sentry).

So, my mistake, thanks for assistance.