Skip to content

Add cause string to error message sent with xpc#361

Merged
katiewasnothere merged 1 commit intoapple:mainfrom
katiewasnothere:xpc_error_set_cause
Jul 21, 2025
Merged

Add cause string to error message sent with xpc#361
katiewasnothere merged 1 commit intoapple:mainfrom
katiewasnothere:xpc_error_set_cause

Conversation

@katiewasnothere
Copy link
Contributor

Looks like we've been ignoring the "cause" field for ContainerizationError when sent over xpc. Add the cause to the ContainerXPCError message field instead of a new cause field since Error is not encodable. The goal here is just to preserve information.

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
@katiewasnothere katiewasnothere merged commit 8002eec into apple:main Jul 21, 2025
2 checks passed
@katiewasnothere katiewasnothere deleted the xpc_error_set_cause branch July 21, 2025 22:05
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.

3 participants

Comments