{"action":"created","issue":{"url":"https://api.github.com/repos/evantahler/actionhero/issues/847","repository_url":"https://api.github.com/repos/evantahler/actionhero","labels_url":"https://api.github.com/repos/evantahler/actionhero/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/evantahler/actionhero/issues/847/comments","events_url":"https://api.github.com/repos/evantahler/actionhero/issues/847/events","html_url":"https://github.com/evantahler/actionhero/issues/847","id":156338311,"number":847,"title":"Issue with api.log when plugin target does not exist","user":{"login":"S3bb1","id":763247,"avatar_url":"https://avatars.githubusercontent.com/u/763247?v=3","gravatar_id":"","url":"https://api.github.com/users/S3bb1","html_url":"https://github.com/S3bb1","followers_url":"https://api.github.com/users/S3bb1/followers","following_url":"https://api.github.com/users/S3bb1/following{/other_user}","gists_url":"https://api.github.com/users/S3bb1/gists{/gist_id}","starred_url":"https://api.github.com/users/S3bb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S3bb1/subscriptions","organizations_url":"https://api.github.com/users/S3bb1/orgs","repos_url":"https://api.github.com/users/S3bb1/repos","events_url":"https://api.github.com/users/S3bb1/events{/privacy}","received_events_url":"https://api.github.com/users/S3bb1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-23T18:40:22Z","updated_at":"2016-05-23T19:45:37Z","closed_at":null,"body":"When you generate a link file in the initalizers plugin folder with a name of a plugin not exists, actionHero crashes, because api.log does not exist.\r\n\r\n`TypeError: api.log is not a function\r\n    at F:\\dev\\test\\node_modules\\actionhero\\initializers\\utils.js:141:23\r\n    at Array.forEach (native)\r\n    at Object.api.utils.recursiveDirectoryGlob (F:\\dev\\test\\node_modules\\actionh\r\nero\\initializers\\utils.js:117:29)\r\n    at F:\\dev\\test\\node_modules\\actionhero\\initializers\\utils.js:123:33\r\n    at Array.forEach (native)\r\n    at Object.api.utils.recursiveDirectoryGlob (F:\\dev\\test\\node_modules\\actionh\r\nero\\initializers\\utils.js:117:29)\r\n    at F:\\dev\\test\\node_modules\\actionhero\\actionhero.js:118:69\r\n    at Array.forEach (native)\r\n    at F:\\dev\\test\\node_modules\\actionhero\\actionhero.js:117:47\r\n    at F:\\dev\\test\\node_modules\\async\\lib\\async.js:718:13`"},"comment":{"url":"https://api.github.com/repos/evantahler/actionhero/issues/comments/221074968","html_url":"https://github.com/evantahler/actionhero/issues/847#issuecomment-221074968","issue_url":"https://api.github.com/repos/evantahler/actionhero/issues/847","id":221074968,"user":{"login":"evantahler","id":303226,"avatar_url":"https://avatars.githubusercontent.com/u/303226?v=3","gravatar_id":"","url":"https://api.github.com/users/evantahler","html_url":"https://github.com/evantahler","followers_url":"https://api.github.com/users/evantahler/followers","following_url":"https://api.github.com/users/evantahler/following{/other_user}","gists_url":"https://api.github.com/users/evantahler/gists{/gist_id}","starred_url":"https://api.github.com/users/evantahler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evantahler/subscriptions","organizations_url":"https://api.github.com/users/evantahler/orgs","repos_url":"https://api.github.com/users/evantahler/repos","events_url":"https://api.github.com/users/evantahler/events{/privacy}","received_events_url":"https://api.github.com/users/evantahler/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T19:45:37Z","updated_at":"2016-05-23T19:45:37Z","body":"The offending line: https://github.com/evantahler/actionhero/blob/master/initializers/utils.js#L141"}}
{"actor":{"display_login":"evantahler"}}