Skip to content

Avoid panic when signing is cancelled#16

Merged
mvines merged 1 commit into
mvines:masterfrom
dmakarov:master
Aug 1, 2025
Merged

Avoid panic when signing is cancelled#16
mvines merged 1 commit into
mvines:masterfrom
dmakarov:master

Conversation

@dmakarov

Copy link
Copy Markdown
Contributor

It probably doesn’t matter in a cli app if it panics, but I’m using sys as a library in a GUI app and this panic on rejected signing crashes the app. There are a few other partial_sign calls in other process_* functions that I didn’t change, because I’m not yet calling them in my gui app, and I’m not sure about the original reasoning for why panic emitting partial_sign was used instead of the error-returning try_partial_sign version.

@mvines

mvines commented Aug 1, 2025

Copy link
Copy Markdown
Owner

lgtm, thanks!

@mvines mvines merged commit b6d4f3f into mvines:master Aug 1, 2025
1 check failed
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