https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404
--- Comment #25 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 200844 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200844&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. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
