Skip to content

Commit 77ebee2

Browse files
committed
Fix Sentry option
1 parent 08bf077 commit 77ebee2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def build(self):
123123

124124
sentry_project = self.conf.get("user.curaengine:sentry_project", "", check_type=str)
125125
sentry_org = self.conf.get("user.curaengine:sentry_org", "", check_type=str)
126-
if self.options.enable_sentry and os.environ.get('SENTRY_TOKEN', None) and sentry_project != "" and sentry_org != "":
126+
if self.options.get_safe("enable_sentry", False) and os.environ.get('SENTRY_TOKEN', None) and sentry_project != "" and sentry_org != "":
127127
if sentry_project == "" or sentry_org == "":
128128
raise ConanInvalidConfiguration("sentry_project or sentry_org is not set")
129129

0 commit comments

Comments
 (0)