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

fix: Invalid datafile JSON should return an error #205

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

pawels-optimizely
Copy link
Contributor

Now it returns this:

[Optimizely]2019/12/03 10:42:23 [Error][DatafileProjectConfig] Error parsing datafile.: readObjectStart: expect { or n, but found D, error found in #1 byte of ...|DATAFILE_JS|..., bigger context ...|DATAFILE_JSON_STRING_HERE|...
[Optimizely]2019/12/03 10:42:23 [Warning][PollingConfigManager] failed to create project config
[Optimizely]2019/12/03 10:42:23 [Error][Client] received an error while computing experiment decision: unable to parse datafile

@pawels-optimizely pawels-optimizely merged commit 1b75d2e into master Dec 3, 2019
@pawels-optimizely pawels-optimizely deleted the pawel/OASIS-5716 branch December 3, 2019 19:55
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

Successfully merging this pull request may close these issues.

2 participants