Skip to content

Fix transaction level error reporting#1485

Merged
kolunmi merged 1 commit into
bazaar-org:mainfrom
AlexanderVanhee:transaction-level-errors
May 13, 2026
Merged

Fix transaction level error reporting#1485
kolunmi merged 1 commit into
bazaar-org:mainfrom
AlexanderVanhee:transaction-level-errors

Conversation

@AlexanderVanhee
Copy link
Copy Markdown
Collaborator

Most errors are specific to a job, but there are also transaction level errors, most easily seen when not entering a password in a polkit prompt. These were seemingly ignored before, as they were returned as an error hashmap. Now this hashmap gets properly read and set as an error, and the transaction gets also marked as cancelled.

This fixes the issue where the bundle install dialog reports the app as installed when the user did not provide their password, even though the installation did not actually complete.

Most errors are specific to a job, but there are also transaction level errors, most easily seen when not entering a password in a polkit prompt. These were seemingly ignored before, as they were returned as an error hashmap. Now this hashmap gets properly read and set as an error, and the transaction gets also marked as cancelled.

This fixes the issue where the bundle install dialog reports the app as installed when the user did not provide their password, even though the installation did not actually complete.
@AlexanderVanhee AlexanderVanhee requested a review from kolunmi as a code owner May 13, 2026 19:33
@kolunmi
Copy link
Copy Markdown
Collaborator

kolunmi commented May 13, 2026

LGTM

@kolunmi kolunmi merged commit d65ed7b into bazaar-org:main May 13, 2026
2 checks passed
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