Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/bundle: prefix manifest load errors with hint on manifest #1348

Merged
merged 1 commit into from
Feb 26, 2024

Commits on Feb 7, 2024

  1. src/bundle: prefix manifest load errors with hint on manifest

    If we only forward the parsing errors from load_manifest_*() methods,
    they will look like:
    
    | Failed to create bundle: Key file contains line 'EOF' which is not a key-value pair, group, or comment
    
    This does no real indication that it's the manifest that RAUC failed to
    read and will thus not be very helpful for people who are not that deep
    into RAUC.
    
    With the prefix, we get a better hint now:
    
    | Failed to create bundle: Failed to load manifest: Key file contains line ?EOF? which is not a key-value pair, group, or comment
    
    Signed-off-by: Enrico Joerns <ejo@pengutronix.de>
    ejoerns committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    09cb467 View commit details
    Browse the repository at this point in the history