Skip to content

Increase log level when `dotnet add` fails

What does this MR do?

SAST analyzer error with .NET - Unable to build... (gitlab-org/gitlab#349615 - closed) reports a number of issues (both resolved and unresolved) that manifest with a single log line:

Unable to build project using `dotnet`

Upon examination, the code paths that lead here all would produce logs at or above the default level, except the dotnet add branch.

Hence, to help disambiguate which issues are actually in play and make debugging easier, I felt it would be useful to increase the log level for the branch that is currently only at Debug.

What are the relevant issue numbers?

Contributes to (but does not directly solve) gitlab-org/gitlab#349615 (closed)

Does this MR meet the acceptance criteria?

Edited by Connor Gilbert

Merge request reports

Loading