Skip to content

Improve test-command and developer-experience #343

Closed as not planned
Closed as not planned
@cklm

Description

@cklm

Hi, we just stumbled across a wrong message in the sentry:test command. As it turned out, the php-configuration on that server was missing the cacert.pem-file containing root-certificates to verify certificates sent by webservers.

However, the command told us

$ php bin/console sentry:test -vvv
DSN correctly configured in the current client
Sending test message...
Message sent successfully with ID xxx

Thats not correct - there was no message sent, since curl fails in the background with SSL certificate error: unable to get local issuer certificate. So we searched for hours in the firewall and outbound-connection assuming the problem is there somewhere, since sentry told that the message was successully sent.

That should be changed, that the command really tests setup and connection and not only the attempt to send a message (or it should be clarified in the message).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions