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

fix: handle settings with missing shared section #505

Merged
merged 1 commit into from
Mar 5, 2024
Merged

fix: handle settings with missing shared section #505

merged 1 commit into from
Mar 5, 2024

Commits on Mar 4, 2024

  1. fix: handle settings with missing shared section

    This allows configuration files without a `shared` field, using the
    default value if missing.
    
    Before:
    
        $ pueued -vv -c /dev/null
        Error: Error while reading configuration.
    
        Caused by:
            Error while reading configuration:
            missing field `shared`
    
    After:
    
        $ pueued -vv -c /dev/null
        21:12:26 [INFO] Restoring state
        21:12:26 [INFO] Using unix socket at: "/run/user/1000/pueue_rycee.socket"
    rycee committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    c93ab16 View commit details
    Browse the repository at this point in the history