Skip to content

Error logs about missing cli auth token after updated to 4.5 #697

@G00fY2

Description

@G00fY2

Gradle Version

8.7

AGP Version

8.3.2

Code Minifier/Optimizer

None

Version

4.5

Sentry SDK Version

7.8.0

Steps to Reproduce

  • Add Sentry Android Gradle plugin to project
  • Configure the sentry plugin with ignoredBuildTypes.set(setOf("debug"))
  • Do not install or setup the Sentry CLI
  • run assembleDebug to build an Android project

Expected Result

Since the build type is ignored no sentry CLI task is executed and no Sentry errors are logged

Actual Result

We always see an Gradle error log with (the build luckily still succeeds)

Auth token is required for this request. Please run sentry-cli login and try again!

Metadata

Metadata

Assignees

Labels

BugSomething isn't working
No fields configured for issues without a type.

Projects

Status

No status

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions