Skip to content

dx: consider check token in order to error out the status #36

@Dentrax

Description

@Dentrax

in case given $KONDUKTO_TOKEN expired or invalid we can error out the status in order to check to fail reason in the CI pipeline. i.e:

2021/05/18 16:09:13 could not start scan: HTTP response not OK

how about:

2021/05/18 16:09:13 given token is invalid

2021/05/18 16:09:13 given token was expired

2021/05/18 16:09:13 not enough permission to scan image ...

etc.

Wdyt?

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