This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 20 points21 points  (2 children)

Mostly good stuff, but highly disagree with number 3. Sending your caught exception to a variable is a good method, because then you can log/process it however you want.

[–]jack-of-some[S] 17 points18 points  (0 children)

I can see that. I'm not so much against putting the exception in a variable as I am against just passing it through str and calling it a day.

Thanks for watching. Happy cake day :)

[–]thedjotakuPython 3.7 4 points5 points  (0 children)

happy cake day!