style(weixin): format WarnCF call for golines
This commit is contained in:
parent
e0265088b7
commit
c556b1bb98
1 changed files with 8 additions and 4 deletions
|
|
@ -75,10 +75,14 @@ func picoclawHomeDir() string {
|
|||
if probeErr := probeSyncDirWritable(home); probeErr == nil {
|
||||
return home
|
||||
} else {
|
||||
logger.WarnCF("weixin", "Default picoclaw home is not writable; using temp directory for sync cursor", map[string]any{
|
||||
"path": home,
|
||||
"error": probeErr.Error(),
|
||||
})
|
||||
logger.WarnCF(
|
||||
"weixin",
|
||||
"Default picoclaw home is not writable; using temp directory for sync cursor",
|
||||
map[string]any{
|
||||
"path": home,
|
||||
"error": probeErr.Error(),
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue