Skip to content

Review error handling #51

@fabiooshiro

Description

@fabiooshiro

We should verify the status codes returned by our endpoints.

Eg.:

slog.Error("could not read body", "err", err)

This common case should also be checked in other internal functions:

slog.Error("error making http request", "err", err)

Just a workaround:

return "" // it's not the best way to do it

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