{"action":"created","issue":{"url":"https://api.github.com/repos/middleman/middleman/issues/1633","labels_url":"https://api.github.com/repos/middleman/middleman/issues/1633/labels{/name}","comments_url":"https://api.github.com/repos/middleman/middleman/issues/1633/comments","events_url":"https://api.github.com/repos/middleman/middleman/issues/1633/events","html_url":"https://github.com/middleman/middleman/pull/1633","id":110618766,"number":1633,"title":"Refactor Data Loader to prevent middleman from crashing due to invalid…","user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-09T09:13:39Z","updated_at":"2015-10-09T20:09:43Z","closed_at":"2015-10-09T19:41:26Z","pull_request":{"url":"https://api.github.com/repos/middleman/middleman/pulls/1633","html_url":"https://github.com/middleman/middleman/pull/1633","diff_url":"https://github.com/middleman/middleman/pull/1633.diff","patch_url":"https://github.com/middleman/middleman/pull/1633.patch"},"body":"… data file.\r\n\r\nUse case:\r\nI use `middleman` to generate some error pages for our proxies. Normally I use `middleman server` to have a \"live\" preview while I change the data file with the contents for all error messages. While I work on the error messages it can happend that they contain invalid YAML. Unfortunately that makes the preview server crash. I refactored the data loader a bit.\r\n\r\nI use the same pattern here like I did in some components of the preview server. Would you mind to merge it to v4 yourself?"},"comment":{"url":"https://api.github.com/repos/middleman/middleman/issues/comments/146975421","html_url":"https://github.com/middleman/middleman/pull/1633#issuecomment-146975421","issue_url":"https://api.github.com/repos/middleman/middleman/issues/1633","id":146975421,"user":{"login":"maxmeyer","id":114236,"avatar_url":"https://avatars.githubusercontent.com/u/114236?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmeyer","html_url":"https://github.com/maxmeyer","followers_url":"https://api.github.com/users/maxmeyer/followers","following_url":"https://api.github.com/users/maxmeyer/following{/other_user}","gists_url":"https://api.github.com/users/maxmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmeyer/subscriptions","organizations_url":"https://api.github.com/users/maxmeyer/orgs","repos_url":"https://api.github.com/users/maxmeyer/repos","events_url":"https://api.github.com/users/maxmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/maxmeyer/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T20:09:43Z","updated_at":"2015-10-09T20:09:43Z","body":"Thanks anyway. :-)"}}