Skip to content

Commit

Permalink
Fix sentry option
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Feb 17, 2024
1 parent b7d7d4f commit 0ce2176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/clipper/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def build(self):

sentry_project = self.conf.get("user.curaengine:sentry_project", "", check_type=str)
sentry_org = self.conf.get("user.curaengine:sentry_org", "", check_type=str)
if self.options.enable_sentry and os.environ.get('SENTRY_TOKEN', None) and sentry_project != "" and sentry_org != "":
if self.options.get_safe("enable_sentry", False) and os.environ.get('SENTRY_TOKEN', None) and sentry_project != "" and sentry_org != "":
if which("sentry-cli") is None:
self.output.warn("sentry-cli is not installed, skipping uploading debug symbols")
else:
Expand Down

0 comments on commit 0ce2176

Please sign in to comment.