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

Make sure file is correctly closed and catch closing error #401

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

sum12
Copy link
Contributor

@sum12 sum12 commented Mar 21, 2018

there could be errors during backup in which case the file handle is left
open. Also there could be errors in closing file, catch and return that
too unless there have been prior errors.
Both the cases now stand handled.

Closes #400

there could be errors during backup in which case the file handle is left
open. Also there could be errors in closing file, catch and return that
too unless there have been no prior errors.
Both the cases now stand handled.

Closes rqlite#400
@otoolep otoolep merged commit eef608d into rqlite:master Mar 21, 2018
@otoolep
Copy link
Member

otoolep commented Mar 21, 2018

Thanks @sum12

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