Skip to content

Commit 052f683

Browse files
authored
Update GoComponentDetector.cs
1 parent 301baa7 commit 052f683

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ protected override async Task OnFileFoundAsync(ProcessRequest processRequest, ID
185185
catch (Exception ex)
186186
{
187187
this.Logger.LogError(ex, "Failed to detect components using go cli. Location: {Location}", file.Location);
188+
record.ExceptionMessage = ex.Message;
188189
}
189190
finally
190191
{

0 commit comments

Comments
 (0)