Skip to content

Export PDF fail when scorecard results fail with 404 #472

@clemgbld

Description

@clemgbld

The scorecard results api call make buildStatsFromScannerDependencies throw when it result in a 404.

  • We can catch the error and return a score of zero to fix the issue.
  • A nice improvement would be to decouple the scorecard results fetch from buildStatsFromScannerDependencies and introduce a caching mechanism to avoid duplicated http requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions