Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions internal/server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ func (a *API) ServeHTTP(_ http.ResponseWriter, r *http.Request) {
}

if !a.hasExpectations {
// When running an update, there's no way to see the error in the record_update_job_error,
// but it's handy to see it in the logs for debugging.
if kind == "record_update_job_error" {
log.Println("update-job error:", actual.Data)
}
return
}

Expand Down