Skip to content

lib: Print error messaage from load_config function when panicing - #167

Open
dcbaker wants to merge 1 commit into
flatpak:masterfrom
dcbaker:submit/propogate-config-errors
Open

lib: Print error messaage from load_config function when panicing#167
dcbaker wants to merge 1 commit into
flatpak:masterfrom
dcbaker:submit/propogate-config-errors

Conversation

@dcbaker

@dcbaker dcbaker commented Aug 13, 2026

Copy link
Copy Markdown

The current implementation discards the essential information of the error, such as whether the file was missing, or unreadable, or if there was an error in deserializing. This adds the underlying error message to the panic, which can help debug invalid configurations.

Related: #156

The current implementation discards the essential information of the error, such
as whether the file was missing, or unreadable, or if there was an error in
deserializing. This adds the underlying error message to the panic, which
can help debug invalid configurations.

Related: flatpak#156
@dcbaker
dcbaker force-pushed the submit/propogate-config-errors branch from 827b0fa to 2d784dc Compare August 13, 2026 18:13
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.

1 participant