cmd/stcrashreceiver: Propagate synthetic user ID for crashes

This commit is contained in:
Jakob Borg
2023-10-14 12:19:55 +02:00
parent 483ecada80
commit d4c2acf6f6
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ func (r *crashReceiver) servePut(reportID string, w http.ResponseWriter, req *ht
}
// Send the report to Sentry
if !r.sentry.Send(reportID, bs) {
if !r.sentry.Send(reportID, userIDFor(req), bs) {
log.Println("Failed to send report to sentry (queue full):", reportID)
}
}