{"action":"created","issue":{"url":"https://api.github.com/repos/sumocoders/Teamleader/issues/20","repository_url":"https://api.github.com/repos/sumocoders/Teamleader","labels_url":"https://api.github.com/repos/sumocoders/Teamleader/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/sumocoders/Teamleader/issues/20/comments","events_url":"https://api.github.com/repos/sumocoders/Teamleader/issues/20/events","html_url":"https://github.com/sumocoders/Teamleader/issues/20","id":59242997,"number":20,"title":"Unhandled exception causes fatal error when API secret isn't set","user":{"login":"jslegers","id":883647,"avatar_url":"https://avatars.githubusercontent.com/u/883647?v=3","gravatar_id":"","url":"https://api.github.com/users/jslegers","html_url":"https://github.com/jslegers","followers_url":"https://api.github.com/users/jslegers/followers","following_url":"https://api.github.com/users/jslegers/following{/other_user}","gists_url":"https://api.github.com/users/jslegers/gists{/gist_id}","starred_url":"https://api.github.com/users/jslegers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jslegers/subscriptions","organizations_url":"https://api.github.com/users/jslegers/orgs","repos_url":"https://api.github.com/users/jslegers/repos","events_url":"https://api.github.com/users/jslegers/events{/privacy}","received_events_url":"https://api.github.com/users/jslegers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-02-27T14:31:41Z","updated_at":"2016-10-10T08:27:23Z","closed_at":"2016-10-10T08:27:23Z","body":"Because I had a typo in the field name referencing my API secret, I get the following fatal error:\r\n\r\n> ### Additional uncaught exception thrown while handling exception.\r\n> \r\n> #### Original\r\n> \r\n> SumoCoders\\Teamleader\\Exception: api-error on group 6151 in SumoCoders\\Teamleader\\Teamleader->doCall() (line 272 of /Users/inxco/Documents/www/drupalteamleader4/sites/all/vendor/SumoCoders/Teamleader/Teamleader.php).\r\n> \r\n> #### Additional\r\n> \r\n> Exception: theme() may not be called until all modules are loaded. in theme() (line 1017 of /Users/inxco/Documents/www/drupalteamleader4/includes/theme.inc).\r\n\r\nIt would be nice to trigger a more user friendly error message when an API secret or API group has not been defined instead of this error. "},"comment":{"url":"https://api.github.com/repos/sumocoders/Teamleader/issues/comments/252559850","html_url":"https://github.com/sumocoders/Teamleader/issues/20#issuecomment-252559850","issue_url":"https://api.github.com/repos/sumocoders/Teamleader/issues/20","id":252559850,"user":{"login":"carakas","id":3634654,"avatar_url":"https://avatars.githubusercontent.com/u/3634654?v=3","gravatar_id":"","url":"https://api.github.com/users/carakas","html_url":"https://github.com/carakas","followers_url":"https://api.github.com/users/carakas/followers","following_url":"https://api.github.com/users/carakas/following{/other_user}","gists_url":"https://api.github.com/users/carakas/gists{/gist_id}","starred_url":"https://api.github.com/users/carakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carakas/subscriptions","organizations_url":"https://api.github.com/users/carakas/orgs","repos_url":"https://api.github.com/users/carakas/repos","events_url":"https://api.github.com/users/carakas/events{/privacy}","received_events_url":"https://api.github.com/users/carakas/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T08:27:23Z","updated_at":"2016-10-10T08:27:23Z","body":"Ok then I'll close this issue"}}
{"actor":{"display_login":"carakas"}}