jappeace / cut-the-crap

Automated video editing for streamers
MIT License
102 stars 7 forks source link

Fix uncaught exception on running help #19

Closed jappeace closed 4 years ago

Ariakenom commented 4 years ago

Hey. I had a look at this and it appears optparse throws an ExitFailure when it parsing the options fails.

Is there a reason why all exceptions are caught in main? Otherwise I am just going to remove that catch. The programs exits correctly without it.

jappeace commented 4 years ago

Hi @Ariakenom if that fixes it, that's a good idea, have you tried seeing what blame says on that commit? It is maybe just some debugging line.

Ariakenom commented 4 years ago

That commit didn't say anything related to this line so that seems likely.

jappeace commented 4 years ago

Looking forward to your PR then 😉

jappeace commented 4 years ago

Solved by @Ariakenom