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

Show parse error when .version JSON file has wrong syntax? #3

Open
Dunbaratu opened this issue Oct 9, 2014 · 0 comments
Open

Show parse error when .version JSON file has wrong syntax? #3

Dunbaratu opened this issue Oct 9, 2014 · 0 comments

Comments

@Dunbaratu
Copy link

Is it possible to get some sort of error message, either onscreen or in the Unity.Debug.Log, that displays the parse error when the JSON version file has a syntax error?

When trying to add AVC support to a new mod I was publishing, I kept getting this error message in the log:

       NAME: NULL (required)
       URL: NULL
       DOWNLOAD: NULL
       GITHUB: NULL
       VERSION: NULL (required)
       KSP_VERSION: 0.25
       KSP_VERSION_MIN: NULL
       KSP_VERSION_MAX: NULL
       CompatibleKspVersion: True
       CompatibleKspVersionMin: True
       CompatibleKspVersionMax: True
       CompatibleGitHubVersion: True

Without it telling me that there was a syntax error in the version file that cased it to fail to read it. (I had a missing quote mark, it turns out).

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

1 participant