summaryrefslogtreecommitdiffstats
path: root/modules/packages/nuget/symbol_extractor.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/packages/nuget/symbol_extractor.go')
-rw-r--r--modules/packages/nuget/symbol_extractor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/packages/nuget/symbol_extractor.go b/modules/packages/nuget/symbol_extractor.go
index 13641ca6ef..9c04d7bfb4 100644
--- a/modules/packages/nuget/symbol_extractor.go
+++ b/modules/packages/nuget/symbol_extractor.go
@@ -75,7 +75,7 @@ func ExtractPortablePdb(r io.ReaderAt, size int64) (PortablePdbList, error) {
id, err := ParseDebugHeaderID(buf)
if err != nil {
buf.Close()
- return fmt.Errorf("Invalid PDB file: %v", err)
+ return fmt.Errorf("Invalid PDB file: %w", err)
}
if _, err := buf.Seek(0, io.SeekStart); err != nil {