DataDog/php-datadogstatsd

->event call's return varies based on whether UDP mode is being used

Opened this issue · 0 comments

If UDP is not being used, ->event returns true or false based on success. If UDP is used, ->event returns null. This can probably be fixed by seeing if ->packets_sent == 1 after the call to ->eventUdp, as that indicates success (and yes, I know UDP is send-and-pray).