Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Better error message when deserializing bad root.json #251

Open
@brandon-leapyear

Description

We're trying to configure stack to use a private Hackage instance, and we kept seeing the message:

Could not deserialize <repo>/root.json: Schema error: Expected field "signed"

Adding trace statements and building stack manually, we were able to find out that it was attempting to parse

{
 "errors": [
 {
 "status": 401,
 "message": "Authentication is required"
 }
 ]
}

It would be nice if the message could show, in some way, the JSON file that failed to be parsed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /