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

add informative panic for when file is present, but empty #148

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

alexhallam
Copy link
Owner

No description provided.

@alexhallam
Copy link
Owner Author

added a panic condition for empty files.

thread 'main' panicked at '🤖 Looks like the file exists, but is empty. No data to read. 🤖', src/main.rs:397:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@alexhallam alexhallam merged commit 9d5d6fa into main Aug 13, 2022
@alexhallam
Copy link
Owner Author

closes #137

@alexhallam alexhallam deleted the fix_empty_file branch October 11, 2022 21:11
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.

1 participant