Commit Graph

9 Commits (d7ae024951d30b9409104d0bf294f8e1cf05064f)

Author SHA1 Message Date
Deivis Laya d7ae024951 [FIX] sentry: change with_locals to include_local_variables variable
Currently, version 1.17.0 of sentry_sdk is causing the following error:

SentryOption("with_locals", DEFAULT_OPTIONS["with_locals"], None),
KeyError: 'with_locals'.

Where the with_locals key is not found in the dictionary, generating an
error, stopping the installation of the sentry module.

In version 1.17.0 rename 'with_locals'  to 'include_local_variables'
79e33169aa

This commit adjust the  get_sentry_options() method in
https://github.com/Vauxoo/server-tools/blob/16.0/sentry/const.py file, set the new variable.
2023-03-18 03:20:35 +00:00
Florian Mounier 5d3065e4af [FIX] sentry: warn about sentry_transport only if it is specified in config 2022-12-19 16:05:31 +05:30
Florian Mounier e546324ee2 [FIX] sentry: Coerce numerical config values 2022-12-19 16:05:31 +05:30
Fernanda Hernandez 78f7e6057f [IMP] sentry: migrate sentry-raven to new api sentry-sdk 2022-12-19 16:05:31 +05:30
Ivan 532bdbdbfe [IMP] sentry: black, isort 2022-12-19 16:05:31 +05:30
Simone Orsi 0a307b16bd Global pylint cleanup 2022-12-19 16:05:31 +05:30
Atte Isopuro bcdfca304b Enable setting a release option directly
sentry: It is not always possible to read commit information from
a production environment. In those cases it is useful to be able
to set a release version manually.

[UPD] Update sentry.pot
2022-12-19 16:05:31 +05:30
Naglis Jonaitis 953f751038 [FIX] sentry: fixes missing `raven` library preventing loading of modules
Related: #761 #879 #881
2022-12-19 16:05:31 +05:30
Naglis Jonaitis 3510909ba2 [ADD] sentry module (#761)
* [ADD] sentry module

* [FIX] updated sentry module according to PR comments
2022-12-19 16:05:31 +05:30