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 ad84618 commit b4798bb
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 @@ -60,7 +60,7 @@ def build(self):
cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
cmake.build()

if self.options.get_safe("enable_sentry", False):
if self.options.get_safe("enable_sentry", False) and self.settings.build_type != "Release":
# Upload debug symbols to sentry
sentry_project = self.conf.get("user.curaengine:sentry_project", "", check_type=str)
sentry_org = self.conf.get("user.curaengine:sentry_org", "", check_type=str)
Expand Down

0 comments on commit b4798bb

Please sign in to comment.