30 Jun
2026
30 Jun
'26
1:03 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404 --- Comment #38 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 201290 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201290&action=edit Bug 42404: (follow-up) Ensure upload file is cleaned up on unexpected exception The upload variable was declared inside the outer try block, making it invisible to any cleanup code after the try/catch. Move the declaration outside the try so a guard after the try/catch can delete the upload if an unexpected exception fired before the normal cleanup path ran. Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.