Skip to content

Commit b6fcf65

Browse files
committed
fix(envscan): NPE panic
1 parent 9eeca67 commit b6fcf65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envinspection/inspection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func InspectEnv(ctx context.Context) error {
4242
module.Dependencies = append(module.Dependencies, pkgs...)
4343
LOG.Infof("inspection succeeded(%s), total %d items", fn, len(pkgs))
4444
} else {
45-
LOG.Warnf("Software inspection error(%s): %s, ", fn, e.Error())
45+
LOG.Warnf("Software inspection error(%s): %s, ", fn, e)
4646
}
4747
}
4848
for i := range module.Dependencies {

0 commit comments

Comments
 (0)