mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-16 08:19:26 +00:00
🐛 Fix sentry setup
This commit is contained in:
parent
8e29af1875
commit
a0dedaea52
@ -30,7 +30,7 @@ def sentry_before_send(event, hint):
|
||||
|
||||
sentry_sdk_report_time = time()
|
||||
sentry_sdk_git_hash = (
|
||||
run("git rev-parse HEAD", stdout=PIPE, shell=True, check=True).stdout.decode(check=True).strip(check=True)
|
||||
run("git rev-parse HEAD", stdout=PIPE, shell=True, check=True).stdout.decode().strip()
|
||||
)
|
||||
sentry_sdk.init(
|
||||
Config.SENTRY_API,
|
||||
|
Loading…
Reference in New Issue
Block a user