Skip to content

Commit

Permalink
fix: Invalid datafile JSON should return an error (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawels-optimizely authored Dec 3, 2019
1 parent b3e2b28 commit 1b75d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/polling_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (cm *PollingProjectConfigManager) SyncConfig(sdkKey string, datafile []byte

if err != nil {
cmLogger.Warning("failed to create project config")
closeMutex(err)
closeMutex(errors.New("unable to parse datafile"))
return
}

Expand Down

0 comments on commit 1b75d2e

Please sign in to comment.