{"action":"created","issue":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/1004","labels_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/1004/comments","events_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/1004/events","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/1004","id":115349792,"number":1004,"title":"Catch TR55 key errors.","user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T18:58:54Z","updated_at":"2015-11-05T18:59:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/pulls/1004","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/1004","diff_url":"https://github.com/WikiWatershed/model-my-watershed/pull/1004.diff","patch_url":"https://github.com/WikiWatershed/model-my-watershed/pull/1004.patch"},"body":"Connects #976\r\n\r\nThe new version of TR55 raises KeyError when there it receives simulation data\r\nwith unsupported types. This updates our worker to catch such errors and\r\ngracefully fallback to avoid crashes.\r\n\r\n### To test:\r\n - Reprovision worker to get new TR55.\r\n - Start celery debug script and watch logs.\r\n - Supply junk data to TR55 (Try the attached patch to let the UI do it for you.)\r\n - Ensure that we log the exception and do not crash."},"comment":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/comments/154153591","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/1004#issuecomment-154153591","issue_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/1004","id":154153591,"user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T18:59:55Z","updated_at":"2015-11-05T18:59:55Z","body":"Let the UI give you bad data by applying this patch.\r\n[bad-data.patch.txt](https://github.com/WikiWatershed/model-my-watershed/files/28325/bad-data.patch.txt)\r\n\r\n"}}