mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Enable Sentry for the engine if the conan con sentry_url is set
If you want to test this locally do a conan install with: ``` -c user.curaengine:sentry_url=<sentry_url> ``` The URL is stored in the CuraEngine repository variables Contributes to CURA-11364
This commit is contained in:
parent
a7d4ba0528
commit
3052c6be3b
1 changed files with 2 additions and 0 deletions
|
@ -306,6 +306,8 @@ class CuraConan(ConanFile):
|
||||||
self.options["boost"].header_only = True
|
self.options["boost"].header_only = True
|
||||||
if self.settings.os == "Linux":
|
if self.settings.os == "Linux":
|
||||||
self.options["curaengine_grpc_definitions"].shared = True
|
self.options["curaengine_grpc_definitions"].shared = True
|
||||||
|
if self.conf.get("user.curaengine:sentry_url", "", check_type = str) != "":
|
||||||
|
self.options["curaengine"].enable_sentry = True
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
version = self.conf_info.get("user.cura:version", default = self.version, check_type = str)
|
version = self.conf_info.get("user.cura:version", default = self.version, check_type = str)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue