1
0

Consider copy standard modules error as fatal

This commit is contained in:
dump_stack() 2023-03-19 13:20:29 +00:00
parent 08beba2bab
commit c82bd6a554
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

2
pew.go
View File

@ -610,7 +610,7 @@ func testArtifact(swg *sizedwaitgroup.SizedWaitGroup, ka config.Artifact,
start := time.Now() start := time.Now()
err = copyStandardModules(q, ki) err = copyStandardModules(q, ki)
if err != nil { if err != nil {
slog.Error().Err(err).Msg("copy standard modules") slog.Fatal().Err(err).Msg("copy standard modules")
return return
} }
slog.Debug().Str("duration", time.Now().Sub(start).String()). slog.Debug().Str("duration", time.Now().Sub(start).String()).