🐛 Fix possible key error issues

🐛 修复可能的密匙错误问题
This commit is contained in:
Xtao_dada 2021-04-23 00:58:33 +08:00 committed by GitHub
parent 8e0cbc5efd
commit e13b024b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ def before_send(event, hint):
report_time = time()
git_hash = run("git rev-parse HEAD", stdout=PIPE, shell=True).stdout.decode()
sentry_sdk.init(
"https://969892b513374f75916aaac1014aa7c2@o416616.ingest.sentry.io/5312335",
"https://e0db801a51f9485e85cb990e0ff34e81@o416616.ingest.sentry.io/5312335",
traces_sample_rate=1.0,
release=git_hash,
before_send=before_send,