https://prefect.io logo
Title
k

kiran

04/12/2022, 7:33 PM
Best practices question: I’ve found that since using prefect, I’ve used
try/except/else/finally
less often than before (in my main code) because I figure prefect will catch (and log) things. I still find uses for it inside actual tasks/functions. Is this what other people have done or am I thinking about it the wrong way? Thanks!
k

Kevin Kho

04/12/2022, 7:39 PM
I think this is the goal because Prefect aims to eliminate the boilerplate that comes with failure handling
👍🏾 1
k

kiran

04/12/2022, 8:15 PM
That’s what I’ve assumed/operated on but just making sure I was doing it correctly. Thanks!