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

Exception thrown if file is not readable #243

Merged
merged 1 commit into from
Oct 1, 2020
Merged

Exception thrown if file is not readable #243

merged 1 commit into from
Oct 1, 2020

Conversation

hulkur
Copy link
Contributor

@hulkur hulkur commented Sep 17, 2020

In case log file is not readable (generated by some other process, cron etc) exception is thrown.

This PR checks for that and returns message about it as log content.

Thoughts on what would be the best way to make it clear it is an error message from package and not actual log file content?

It would also be possible to mark files as unreadable in file list but that requires checking all files at every load and might not be advisable. Thoughts?

@hulkur hulkur changed the title WIP: Exception thrown if file is not readable Exception thrown if file is not readable Sep 18, 2020
@rap2hpoutre rap2hpoutre merged commit 1a11c77 into rap2hpoutre:master Oct 1, 2020
@rap2hpoutre
Copy link
Owner

Thank you for this contribution! I'll try to release it soon!

bethuxs pushed a commit to bethuxs/laravel-log-viewer that referenced this pull request Oct 22, 2020
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