Skip to content

Replace exit 2 with raise in resource error handling#419

Closed
neidiom wants to merge 1 commit intoitamae-kitchen:masterfrom
neidiom:fix/issue-33-resource-exit
Closed

Replace exit 2 with raise in resource error handling#419
neidiom wants to merge 1 commit intoitamae-kitchen:masterfrom
neidiom:fix/issue-33-resource-exit

Conversation

@neidiom
Copy link
Contributor

@neidiom neidiom commented Mar 4, 2026

exit 2 skipped all cleanup (ensure blocks, handler finalize) and lost the exception backtrace. Re-raising allows normal error propagation and cleanup.

exit 2 skipped all cleanup (ensure blocks, handler finalize) and
lost the exception backtrace. Re-raising allows normal error
propagation and cleanup.
@unasuke
Copy link
Member

unasuke commented Mar 4, 2026

#430 (comment)

@unasuke unasuke closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants