worker to log more information for gitter internal server errors

Open Beginner friendly
#5,809 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go

Research direction

Start in go/internal/worker/affectedcommits.go around line 94, where the worker reports Gitter's 500 Internal Server Error. Inspect the existing error-handling path and determine what response or request context is available for investigation. Done means the error log includes more useful information while still clearly identifying the Gitter failure.

Written by the indexing model from the issue text.

Description

There are a lot of 500 internal server errors observed from gitter in worker, probably from affectedcommits.go.

The current error message gitter responded with 500 Internal Server Error is not that helpful to investigate the issue, and we should consider log more information for this error.

Dominant language
Go
Stars
2.9k
Forks
371
Avg merge
1d 11h
Merged PRs (30d)
111

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/osv.dev

All issues in google/osv.dev

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.