Skip to content

Commit

Permalink
Only enable Sentry upload when there is info to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Jan 18, 2024
1 parent 91d0df0 commit f705bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def build(self):
if sentry_project == "" or sentry_org == "":
raise ConanInvalidConfiguration("sentry_project or sentry_org is not set")

if which("sentry-cli") is None:
if which("sentry-cli") is None and self.settings.build_type != "Release":
self.output.warn("sentry-cli is not installed, skipping uploading debug symbols")
else:
if self.settings.os == "Linux":
Expand Down

0 comments on commit f705bb8

Please sign in to comment.