mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix setting of sentry_env for betas
This commit is contained in:
parent
3d399672d0
commit
f8326d2a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ if with_sentry_sdk:
|
|||
|
||||
if ApplicationMetadata.CuraVersion == "master":
|
||||
sentry_env = "development" # Master is always a development version.
|
||||
elif ApplicationMetadata.CuraVersion in ["beta", "BETA"]:
|
||||
elif "beta" in ApplicationMetadata.CuraVersion or "BETA" in ApplicationMetadata.CuraVersion:
|
||||
sentry_env = "beta"
|
||||
try:
|
||||
if ApplicationMetadata.CuraVersion.split(".")[2] == "99":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue