Skip to content

Please avoid raising generic Exception when a more detailed one is available #40

@ckuethe

Description

@ckuethe
Exception: Received status code: 422 (https://gitea.example.com/api/v1/repos/migrate), {"message":"Migration failed: clone wiki error: exit status 128 - fatal: unable to access 'https://github.com/torvalds/linux.git/': Connection timed out after 300106 milliseconds\n.","url":"https://gitea.example.com/api/swagger"}

Seems like this could be a TimeoutError or maybe a generic GiteaException - just something more specific than a base Exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions