MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Include errors in the info field of the json output #217

Closed ResistantBear closed 5 months ago

ResistantBear commented 5 months ago

Include errors in the info field of the json output

Closes #185

Description

No longer includes "ERROR" metrics into the list of metrics in the output .json-file, but include errors in the "info" field of the .json-file. Refactors error handling accordingly.

The user is now informed about if parsing a syntax tree failed or if calculating some metrics failed for a particular file.

Definition of Done

A PR is only ready for merge once all the following acceptance criteria are fulfilled:

clemens-mw commented 5 months ago

I love the idea of adding a new class for ErrorFiles!!