Skip to content

Improve API Error output #26

@wwerner

Description

@wwerner

Currently, we just log the error directly. e.g.: time="2018-12-04T12:57:26+01:00" level=error msg="[POST /api/v1/guids][401] createGuidUnauthorized &{Code:0xc0001f8050 ErrorID:0xc0001f8080 ErrorList:[] Message:0xc0001f8060}"

We should log a JSON representation of the API error as well as all request parameters and headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions