mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 08:46:54 +08:00
convert error fromating to %w everywhere (#6995)
This commit is contained in:
@@ -153,5 +153,5 @@ func create(tag string, t time.Time) (f *os.File, filename string, err error) {
|
||||
}
|
||||
lastErr = err
|
||||
}
|
||||
return nil, "", fmt.Errorf("log: cannot create log: %v", lastErr)
|
||||
return nil, "", fmt.Errorf("log: cannot create log: %w", lastErr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user