Closed rwstauner closed 12 years ago
Reading the docs (the Rollback Exceptions section) I saw a section that passed two subs, the second appearing to be an error handler.
I was confused until I read in the change log that there used to be a 'catch' block, so I'm assuming this pod was leftover from that change.
I wrapped the subs in a try/catch (using Try::Tiny).
If this is not correct, please review the docs to clarify. Thanks!
Merged, thanks for the catch!
Reading the docs (the Rollback Exceptions section) I saw a section that passed two subs, the second appearing to be an error handler.
I was confused until I read in the change log that there used to be a 'catch' block, so I'm assuming this pod was leftover from that change.
I wrapped the subs in a try/catch (using Try::Tiny).
If this is not correct, please review the docs to clarify. Thanks!