Skip to content

New DSN triggers "Invalid Sentry DSN" error #142

@birkof

Description

@birkof

On newer versions of Sentry's SDK the secret is no longer required in DSN.

vendor/sentry/sentry/lib/Raven/Client.php[511]

if (empty($netloc) || empty($project) || empty($username) || empty($password)) {
    throw new InvalidArgumentException('Invalid Sentry DSN: ' . $dsn);
}

The last condition should be removed...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions