Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoganServer 文件路径创建失败是什么原因? #520

Open
MillionGao opened this issue Jul 17, 2024 · 1 comment
Open

LoganServer 文件路径创建失败是什么原因? #520

MillionGao opened this issue Jul 17, 2024 · 1 comment

Comments

@MillionGao
Copy link

{
"code": 500,
"msg": "ERROR_LOG_PATH",
"data": null
}

@mircotom
Copy link

看代码是这样的:
File file = FileUtil.createNewFile(fileName);
if (file == null) {
return ResultEnum.ERROR_LOG_PATH;
}
估摸着可能是读写权限的问题吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants