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 exception instead of "pass" to avoid silently skipping of write #205

Merged
merged 1 commit into from
Mar 19, 2019

Conversation

chudsaviet
Copy link
Contributor

I have faced an issue when passing NamedTemporaryFile instance to get_results().
It silently skipped writing, which is very bad.
So to avoid this, commentary 'Can this happen? Don't know what's the right thing to do in this case.' and 'pass' should be replaced with 'raise ValueError()'.

@msumit msumit changed the base branch from master to unreleased March 19, 2019 13:45
@msumit msumit merged commit 9365023 into qubole:unreleased Mar 19, 2019
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