mirror of https://github.com/daffainfo/nuclei.git
Fix double errors + silent stats show
parent
53cfeb1d58
commit
8f74415cc5
|
@ -103,6 +103,7 @@ func (s *Store) ValidateTemplates(templatesList, workflowsList []string) bool {
|
|||
}
|
||||
notErrored = false
|
||||
gologger.Error().Msgf("Error occurred loading template %s: %s\n", k, err)
|
||||
continue
|
||||
}
|
||||
_, err = templates.Parse(k, s.config.ExecutorOptions)
|
||||
if err != nil {
|
||||
|
|
|
@ -167,7 +167,7 @@ func printCallback(stats clistats.StatisticsClient) {
|
|||
builder.WriteRune(')')
|
||||
builder.WriteRune('\n')
|
||||
|
||||
gologger.Print().Msgf("%s", builder.String())
|
||||
fmt.Printf("%s", builder.String())
|
||||
}
|
||||
|
||||
// getMetrics returns a map of important metrics for client
|
||||
|
|
Loading…
Reference in New Issue