fix(log-center): add repo_url to error report payload
All checks were successful
Build and Deploy Web / build-and-deploy (push) Successful in 2m47s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
zyc 2026-02-24 13:01:22 +08:00
parent 94ac3687e5
commit 9d71da01f9

View File

@ -26,6 +26,7 @@ function reportToLogCenter(error: Error, context?: Record<string, unknown>) {
project_id: 'rtc_web',
environment: import.meta.env.MODE,
level: 'ERROR',
repo_url: 'https://gitea.airlabs.art/zyc/rtc_web.git',
error: {
type: error.name,
message: error.message,