-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error logs about missing cli auth token after updated to 4.5 #697
Comments
Facing the same issue. The error is thrown from sentry-cli as described in 2.29.0 release notes. The error shows up when building app variants that don't have anything to do with sentry, which suggests that sentry is doing something unneeded under the hood. |
Same issue |
Hi everyone, thanks for reaching out! Could you share a few more details about your setup?
Additionally our telemetry could be the root cause, as it utilizes sentry-cli under the hood. You can disable it via the configuration block and try if it works then. sentry {
telemetry.set(false)
} Additionally you can enable debugging an run your gradle task with the sentry {
debug.set(true)
} |
This branch with the command |
Actually the error log is gone after configuring For me it seems like this was executed while configuration phase. Because the error message was always very early in the logs, right after the Android variants got configured. @LionZXY Maybe you have |
Thanks for all the details, I can finally reproduce the issue. It looks like a recent We're on it! |
Quick update: We shipped a bugfix with our |
Re-opening this issue as we see error logs in the gradle build which are causing some confusion (Note: the build still succeeds). |
@markushi I was also getting the same issue on 4.5.1 but it got resolved by disabling telemetry. |
Same. |
Same here with 4.5.1. According to the Gradle debug logs calling
|
I believe this should be tackled by #708 now |
hey everyone here, the issue has been addressed in the version 4.6.0, which just has been published. Please give it a try and let us know. Thank you! |
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
ignoredBuildTypes.set(setOf("debug"))
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)
The text was updated successfully, but these errors were encountered: