Skip to content

Better error with leading quotes? #4

@samdphillips

Description

@samdphillips

When setting the KEYRING env variable in Docker env file everything on the line after the = is set as the environment variable. If the user quotes the value it causes an unhelpful error message

keyring: error initializing keyring from environment
keyring: keyring spec: "\"env://?prefix=AUTH\""
keyring: make-keyring-from-string: invalid backend url;
  backend: #f
  url: "env://?prefix=AUTH"
  orig-exn: invalid URL string; bad scheme
  scheme: "\"env"
  in: "\"env://?prefix=AUTH\""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions