Skip to content

Commit

Permalink
加日志
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu authored Nov 14, 2024
1 parent a7b19b7 commit 7c9a591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fengsheng/dictionary.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func saveImage(message MessageChain) error {
}
cmd := exec.Command("curl", "-o", p, u)
if out, err := cmd.CombinedOutput(); err != nil {
slog.Error("cmd.Run() failed", "error", err)
slog.Error("cmd.Run() failed", "error", err, "p", p, "u", u)
return errors.New("保存图片失败")
} else {
slog.Debug(string(out))
Expand Down

0 comments on commit 7c9a591

Please sign in to comment.