Skip to content

Error message is misleading when config file is not present #855

@zealsham

Description

@zealsham

When you run payjoin-cli , it checks for the presence of a config file in the current directory . However , if that file isn't present , the error message displayed does not tell exactly what went wrong .

//misleading error message 
Error: Valid V2 configuration is required for BIP77 mode: missing field `ohttp_relays`

For such cases , we should tell the user that a config file is missing and if #64 goes in , we can tell the user to add a config file in the .payjoin directory .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions