type in return error

This commit is contained in:
Vadim YR 2022-06-24 00:55:01 +02:00 committed by Umputun
parent 3e2b32573f
commit b9e994be0c

View File

@ -197,7 +197,7 @@ func run() error {
accessLog, alErr := makeAccessLogWriter()
if alErr != nil {
return fmt.Errorf("failed to access log: %w", sslErr)
return fmt.Errorf("failed to access log: %w", alErr)
}
defer func() {