Skip to content

[FEAT]: Show error message when technolinator scan fails #678

@btrajkovski-mms

Description

@btrajkovski-mms

Request Description

Hi everyone,

I worked with technolinator over the past few days. Overall I like the tool, but I found one feature that would really appreciate to have it and speed up initial setup.
Currently when technolinator scan fails it shows an 'X', but there is no comment on the PR or any link where it can be seen the cause for the fail. For example: is it because private repo, is it because invalid yaml, unsupported java version or something else. Here is one example of such repo: https://github.com/MediaMarktSaturn/secdev-technolinator-demo-maven , it fails, but the actual cause is not clear to me.

From what I saw in the source code, there are ERROR logs, but they are probably only logged as dtrack logs and I as an owner of a repo cannot see those.
One option I see how to implement this feature would be to have a config flag like verbose mode and when enabled technolinator to post a comment on PR with error message what was the cause of failure or some exception stacktrace. Would be enough to cover the few common issues why technolinator scan fails. I would be open to helping in contribution of this feature.

Additional Information

I mean on this screen:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions