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

Don't use 'puts' in rescue in episode.initialize #15

Open
tkrajacic opened this issue Jul 18, 2013 · 0 comments
Open

Don't use 'puts' in rescue in episode.initialize #15

tkrajacic opened this issue Jul 18, 2013 · 0 comments

Comments

@tkrajacic
Copy link

I think it is very inconvenient to output a string in the rescue clause in episode.initialize

I have overridden this in one of my scripts by setting @air_date to nil instead.
Otherwise there is no way to get rid of this output.

Is there a reason, why @air_date is not just set to nil instead? (This can be tested in a script, in contrast to just living with some garbage output otherwise)

BTW, this happens for shows that have show specials for example, which don't have dates set.

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

No branches or pull requests

1 participant