Skip to content

Add call to sys.exit() with non-zero exit code on Exception - #48

Merged
cossatot merged 1 commit into
masterfrom
ph_exit_code
Jul 30, 2026
Merged

Add call to sys.exit() with non-zero exit code on Exception#48
cossatot merged 1 commit into
masterfrom
ph_exit_code

Conversation

@pslh

@pslh pslh commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Add call to sys.exit() with non-zero exit code so that tests using hamlet (e.g. internal mosaic tests) can detect failure.
At present hamlet always exits with exit-code 0, so tests think all is well even when hamlet encounters an error

@pslh
pslh requested review from cossatot and vot4anto July 30, 2026 16:50
@cossatot
cossatot merged commit 500132b into master Jul 30, 2026
1 check passed
@pslh
pslh deleted the ph_exit_code branch July 31, 2026 07:22
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