Closed drewoldag closed 1 week ago
See @DinoBektesevic's comment here: https://github.com/dirac-institute/kbmod-wf/pull/30#discussion_r1718652840
Long story short, instead of a try ... catch statement, we can use a context manager to do most of the work.
try ... catch
Initial investigation wasn't producing the stack trace that I wanted, but this is probably just unfamiliarity with working with traceback objects.
traceback
See @DinoBektesevic's comment here: https://github.com/dirac-institute/kbmod-wf/pull/30#discussion_r1718652840
Long story short, instead of a
try ... catch
statement, we can use a context manager to do most of the work.Initial investigation wasn't producing the stack trace that I wanted, but this is probably just unfamiliarity with working with
traceback
objects.