mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
sentry improvements (#23627)
* sentry: filter out unregistered devices and PC * add daemon name old-commit-hash: 8b5b0ae3415e1ea44a1eecb6e70cec16b0fb1565
This commit is contained in:
@@ -34,8 +34,9 @@ def launcher(proc: str, name: str) -> None:
|
||||
# create new context since we forked
|
||||
messaging.context = messaging.Context()
|
||||
|
||||
# add daemon name to cloudlog ctx
|
||||
# add daemon name tag to logs
|
||||
cloudlog.bind(daemon=name)
|
||||
sentry.set_tag("daemon", name)
|
||||
|
||||
# exec the process
|
||||
getattr(mod, 'main')()
|
||||
|
||||
Reference in New Issue
Block a user