{"action":"opened","issue":{"url":"https://api.github.com/repos/CoastalResilienceNetwork/geosite-framework-build/issues/25","repository_url":"https://api.github.com/repos/CoastalResilienceNetwork/geosite-framework-build","labels_url":"https://api.github.com/repos/CoastalResilienceNetwork/geosite-framework-build/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/CoastalResilienceNetwork/geosite-framework-build/issues/25/comments","events_url":"https://api.github.com/repos/CoastalResilienceNetwork/geosite-framework-build/issues/25/events","html_url":"https://github.com/CoastalResilienceNetwork/geosite-framework-build/issues/25","id":182797374,"number":25,"title":"Provide better error when JSON configuration is malformed","user":{"login":"mmcfarland","id":1014341,"avatar_url":"https://avatars.githubusercontent.com/u/1014341?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcfarland","html_url":"https://github.com/mmcfarland","followers_url":"https://api.github.com/users/mmcfarland/followers","following_url":"https://api.github.com/users/mmcfarland/following{/other_user}","gists_url":"https://api.github.com/users/mmcfarland/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcfarland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcfarland/subscriptions","organizations_url":"https://api.github.com/users/mmcfarland/orgs","repos_url":"https://api.github.com/users/mmcfarland/repos","events_url":"https://api.github.com/users/mmcfarland/events{/privacy}","received_events_url":"https://api.github.com/users/mmcfarland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CoastalResilienceNetwork/geosite-framework-build/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-13T13:58:48Z","updated_at":"2016-10-13T13:58:48Z","closed_at":null,"body":"Currently the user will see this stack trace if a JSON configuration is malformed, we should report a more direct error to them to allow them to fix it.\r\n\r\n```\r\nCloning baja-region_config@HEAD...\r\nAttempting to checkout the development branch\r\nBranch development set up to track remote branch development from origin.\r\nTraceback (most recent call last):\r\n  File \"C:\\geosite-framework-build-locales\\build.py\", line 399, in <module>\r\n    region_branch, do_install, is_prod, is_test)\r\n  File \"C:\\geosite-framework-build-locales\\build.py\", line 61, in build_region\r\n    fetch_framework_and_plugins(region_dest, framework_branch, region_branch)\r\n  File \"C:\\geosite-framework-build-locales\\build.py\", line 176, in fetch_framewo\r\nrk_and_plugins\r\n    config = json.load(plugins)\r\n  File \"C:\\Python27\\lib\\json\\__init__.py\", line 290, in load\r\n    **kw)\r\n  File \"C:\\Python27\\lib\\json\\__init__.py\", line 338, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"C:\\Python27\\lib\\json\\decoder.py\", line 366, in decode\r\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n  File \"C:\\Python27\\lib\\json\\decoder.py\", line 382, in raw_decode\r\n    obj, end = self.scan_once(s, idx)\r\nValueError: Expecting property name: line 4 column 2 (char 30)\r\n```"}}
{"actor":{"display_login":"mmcfarland"}}