{"action":"closed","issue":{"url":"https://api.github.com/repos/preaction/Beam-Wire/issues/38","labels_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/38/comments","events_url":"https://api.github.com/repos/preaction/Beam-Wire/issues/38/events","html_url":"https://github.com/preaction/Beam-Wire/issues/38","id":52736421,"number":38,"title":"Throw error if config file does not exist","user":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/preaction/Beam-Wire/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-12-23T12:22:17Z","updated_at":"2015-03-01T01:06:44Z","closed_at":"2015-03-01T01:06:44Z","body":"Right now, if the config file does not exist, I get this error:\r\n\r\n```\r\nisa check for \"config\" failed: undef is not a HashRef! at (eval 656) line 30.\r\n        Beam::Wire::config(Beam::Wire=HASH(0x7f891da3d408)) called at /Users/doug/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Beam/Wire.pm line 348\r\n        Beam::Wire::BUILD(Beam::Wire=HASH(0x7f891da3d408), HASH(0x7f891d34b0d0)) called at (eval 655) line 117\r\n        Beam::Wire::new(\"Beam::Wire\", \"file\", \"site.yml\") called at lib/Statocles/Command.pm line 43\r\n        Statocles::Command::main(\"Statocles::Command\", \"blog\", \"post\", \"Release\", \"v0.030\") called at bin/statocles line 16\r\n```\r\n\r\nThere should be a different error message saying exactly that the config file does not exist."}}