update file tool log

This commit is contained in:
Stitch-z 2023-09-11 10:20:05 +08:00
parent 5405d9cf32
commit 90b045b11a

View file

@ -35,7 +35,7 @@ class File:
full_path = root_path / filename
async with aiofiles.open(full_path, mode="wb") as writer:
await writer.write(content)
logger.info(f"Successfully write docx: {full_path}")
logger.info(f"Successfully write file: {full_path}")
return full_path
except Exception as e:
logger.error(f"Error writing file: {e}")