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

Unclear error message for issues in lock file #1247

Closed
TeaDrivenDev opened this issue Nov 22, 2015 · 5 comments
Closed

Unclear error message for issues in lock file #1247

TeaDrivenDev opened this issue Nov 22, 2015 · 5 comments

Comments

@TeaDrivenDev
Copy link
Contributor

When there is something in paket.dependencies that Paket doesn't understand, it tells you exactly where, and what the problem is. For an error in paket.lock, I only got

Paket failed with:
    Input string was not in a correct format.

This should at least say that it's about the lock file, so the user knows where to start looking.

@forki
Copy link
Member

forki commented Nov 22, 2015

How did the wrong lock file look like?

@TeaDrivenDev
Copy link
Contributor Author

I had tried to allow a "minimum" version at the top level:

NUGET
  remote: https://nuget.org/api/v2
  specs:
    FAKE (>= 4.9.3)

@forki
Copy link
Member

forki commented Nov 23, 2015

I just added this as an integration test and it now shows a better error message, but why do you change the lockfile manually?

@forki forki closed this as completed in 40c90e6 Nov 23, 2015
@TeaDrivenDev
Copy link
Contributor Author

Because

200_s

;-)

@forki
Copy link
Member

forki commented Nov 23, 2015

yeah, lock files are usually not edited manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants