Skip to content

Fails with token error with dryRun enabled #396

@rchl

Description

@rchl

Environment

@sentry/webpack-plugin@2.7.1

Steps to Reproduce

Used the @sentry/webpack-plugin plugin with the following options:

{
      authToken: 'fakeToken',
      org: 'MyCompany',
      project: 'TestProject',
      dryRun: true,
      debug: true,
}

Expected Result

No exception thrown due to missing authToken.
No API requests to publish releases should be made.

Actual Result

Getting unhandled exception:

Error: Command failed: /usr/local/workspace/nuxt/sentry-module/node_modules/@sentry/cli/sentry-cli releases new d5d66ef65ec55052dc94fe6965a2604e51791375
error: API request failed
  caused by: sentry reported an error: Invalid token (http status: 401)

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions