mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-03-11 02:16:52 +08:00
i18n: logs in rest pkgs
This commit is contained in:
@@ -22,7 +22,7 @@ func CreatNestedFile(path string) (*os.File, error) {
|
||||
if !Exists(basePath) {
|
||||
err := os.MkdirAll(basePath, 0700)
|
||||
if err != nil {
|
||||
Log().Warning("无法创建目录,%s", err)
|
||||
Log().Warning("Failed to create directory: %s", err)
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user