CodeNow / api

dat runnable.io api server
https://api.runnable.io
2 stars 1 forks source link

Turn error into warning #2005

Closed thejsj closed 7 years ago

thejsj commented 7 years ago

What this PR does

TODO

Integration Test

Please follow the guidelines presented in the How to Test an API PR article when setting-up and performing tests.

thejsj commented 7 years ago

Errors when creating a cluster successfully:

[2017-06-05T20:02:49.081Z] ERROR: api/17 on api-worker: could not populate instance with cluster data (branch="", commit="", environment=runnable-on-prem-1, module=ClusterDataService, method=populateInstanceWithClusterInfo, instanceId=5935b8e85050e11100cdfab1, instanceParentShortHash=null)
    err: {
      "message": "AutoIsolationConfig not found"
    }
[2017-06-05T20:02:49.026Z] ERROR: api/17 on api-worker: could not populate instance with cluster data (branch="", commit="", environment=runnable-on-prem-1, module=ClusterDataService, method=populateInstanceWithClusterInfo, instanceId=5935b8e85050e11100cdfaad, instanceParentShortHash=null)
    err: {
      "message": "AutoIsolationConfig not found"
    }
[2017-06-05T20:02:48.770Z] ERROR: api/17 on api-worker: could not populate instance with cluster data (branch="", commit="", environment=runnable-on-prem-1, module=ClusterDataService, method=populateInstanceWithClusterInfo, instanceId=5935b8e85050e11100cdfa9c, instanceParentShortHash=null)
    err: {
      "message": "AutoIsolationConfig not found"
    }
[2017-06-05T20:02:48.674Z] ERROR: api/17 on api-worker: could not populate instance with cluster data (branch="", commit="", environment=runnable-on-prem-1, module=ClusterDataService, method=populateInstanceWithClusterInfo, instanceId=5935b8e85050e11100cdfa97, instanceParentShortHash=null)
    err: {
      "message": "AutoIsolationConfig not found"
    }
2017-06-05T20:02:48.407Z] ERROR: api/17 on api-worker: could not populate instance with cluster data (branch="", commit="", environment=runnable-on-prem-1, module=ClusterDataService, method=populateInstanceWithClusterInfo, instanceId=5935b8e75050e11100cdfa76, instanceParentShortHash=null)
    err: {
      "message": "AutoIsolationConfig not found"
    }
[2017-06-05T20:02:48.271Z] ERROR: api/17 on api-worker: could not populate instance with cluster data (branch="", commit="", environment=runnable-on-prem-1, module=ClusterDataService, method=populateInstanceWithClusterInfo, instanceId=5935b8e75050e11100cdfa76, instanceParentShortHash=null)
    err: {
      "message": "AutoIsolationConfig not found"
    }

... you get it... (I have full logs avaiable if anyone wants to see them).

Nathan219 commented 7 years ago

Yeah, definitely need this