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

完善read方法file_get_content的错误 #60

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

augushong
Copy link
Contributor

有时候file_get_content会出现错误,会直接抛出异常,从而无法正确的抛出对应的异常UnableToReadFile。因此需要捕获file_get_content的异常或者增加错误抑制符,这里对齐增加异常捕获

有时候file_get_content会出现错误,会直接抛出异常,从而无法正确的抛出对应的异常UnableToReadFile。因此需要捕获file_get_content的异常或者增加错误抑制符,这里对齐增加异常捕获
@overtrue overtrue merged commit 5e04ac3 into overtrue:3.x Dec 21, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants