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 08bf077 commit 77ebee2
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 @@ -123,7 +123,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 sentry_project == "" or sentry_org == "":
raise ConanInvalidConfiguration("sentry_project or sentry_org is not set")

Expand Down

0 comments on commit 77ebee2

Please sign in to comment.