mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Remove redundant information in an error message
This commit is contained in:
parent
35555b769a
commit
897c861451
@ -100,7 +100,7 @@ func execScript(ctx context.Context, scriptName string, notif notification) erro
|
||||
} else if isExitError {
|
||||
return fmt.Errorf("script %q terminated by signal with error %q", scriptName, strings.TrimSpace(stderr.String()))
|
||||
} else {
|
||||
return fmt.Errorf("error executing script %q: %w", scriptName, err)
|
||||
return fmt.Errorf("error executing script: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user