Skip to content

repo-updater: include service name in error messages for auth

Warren Gifford requested to merge syncer-svc-error into main

Created by: rmmh

before, it was hard to determine which service is producing an error:

WARN Marked record as errored, name: repo_sync_worker, id: 282, err: fetching from code host: 1 error occurred:
        * UnrecognizedClientException: The security token included in the request is invalid.
        status code: 400, request id: 6badae69-7c9b-4337-a45b-1d33d7e61497

after, it's easy to see:

WARN Marked record as errored, name: repo_sync_worker, id: 282, err: fetching from code host AWSCODECOMMIT #1: 1 error occurred:

Merge request reports

Loading