Description
I'm trying to migrate from V1 to V2.
In V1 of this SDK, we were able to know if an exception failed to be sent via some methods or by checking if eventID is null.
In V2, it seems impossible to know if the exception was correctly sent to Sentry.
$eventID = \Sentry\captureException($myException);
This code will always give me an EventID even if the exception wasn't correctly sent.
I checked a bit in the code and I saw that in Transport/HttpTransport::send() you are doing this :
$promise->wait(false);
Passing false to this function means that you don't want to check the status the request : "bool $unwrap Whether to return resolved value / throw reason or not"
If I change this value to "true", I can now catch error when the exception wasn't correctly sent (as the method is throwing an Exception).
Now, I would like to know if it is possible (out of the box) to check if the exception is correctly sent?
And furthermore, is it intended to not warn the user that the exception isn't correctly sent?