{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/issues/39","repository_url":"https://api.github.com/repos/Icinga/icinga2-powershell-module","labels_url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/issues/39/comments","events_url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/issues/39/events","html_url":"https://github.com/Icinga/icinga2-powershell-module/issues/39","id":242297423,"number":39,"title":"Module returns \"0\" even when installation failed","user":{"login":"widhalmt","id":504849,"avatar_url":"https://avatars2.githubusercontent.com/u/504849?v=3","gravatar_id":"","url":"https://api.github.com/users/widhalmt","html_url":"https://github.com/widhalmt","followers_url":"https://api.github.com/users/widhalmt/followers","following_url":"https://api.github.com/users/widhalmt/following{/other_user}","gists_url":"https://api.github.com/users/widhalmt/gists{/gist_id}","starred_url":"https://api.github.com/users/widhalmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widhalmt/subscriptions","organizations_url":"https://api.github.com/users/widhalmt/orgs","repos_url":"https://api.github.com/users/widhalmt/repos","events_url":"https://api.github.com/users/widhalmt/events{/privacy}","received_events_url":"https://api.github.com/users/widhalmt/received_events","type":"User","site_admin":false},"labels":[{"id":383323012,"url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/labels/bug","name":"bug","color":"ee0701","default":true},{"id":383323014,"url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"LordHepipud","id":5050288,"avatar_url":"https://avatars0.githubusercontent.com/u/5050288?v=3","gravatar_id":"","url":"https://api.github.com/users/LordHepipud","html_url":"https://github.com/LordHepipud","followers_url":"https://api.github.com/users/LordHepipud/followers","following_url":"https://api.github.com/users/LordHepipud/following{/other_user}","gists_url":"https://api.github.com/users/LordHepipud/gists{/gist_id}","starred_url":"https://api.github.com/users/LordHepipud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordHepipud/subscriptions","organizations_url":"https://api.github.com/users/LordHepipud/orgs","repos_url":"https://api.github.com/users/LordHepipud/repos","events_url":"https://api.github.com/users/LordHepipud/events{/privacy}","received_events_url":"https://api.github.com/users/LordHepipud/received_events","type":"User","site_admin":false},"assignees":[{"login":"LordHepipud","id":5050288,"avatar_url":"https://avatars0.githubusercontent.com/u/5050288?v=3","gravatar_id":"","url":"https://api.github.com/users/LordHepipud","html_url":"https://github.com/LordHepipud","followers_url":"https://api.github.com/users/LordHepipud/followers","following_url":"https://api.github.com/users/LordHepipud/following{/other_user}","gists_url":"https://api.github.com/users/LordHepipud/gists{/gist_id}","starred_url":"https://api.github.com/users/LordHepipud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordHepipud/subscriptions","organizations_url":"https://api.github.com/users/LordHepipud/orgs","repos_url":"https://api.github.com/users/LordHepipud/repos","events_url":"https://api.github.com/users/LordHepipud/events{/privacy}","received_events_url":"https://api.github.com/users/LordHepipud/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/milestones/1","html_url":"https://github.com/Icinga/icinga2-powershell-module/milestone/1","labels_url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/milestones/1/labels","id":2631652,"number":1,"title":"1.0.0","description":"Milestone for module version 1.0.0 stable release","creator":{"login":"LordHepipud","id":5050288,"avatar_url":"https://avatars0.githubusercontent.com/u/5050288?v=3","gravatar_id":"","url":"https://api.github.com/users/LordHepipud","html_url":"https://github.com/LordHepipud","followers_url":"https://api.github.com/users/LordHepipud/followers","following_url":"https://api.github.com/users/LordHepipud/following{/other_user}","gists_url":"https://api.github.com/users/LordHepipud/gists{/gist_id}","starred_url":"https://api.github.com/users/LordHepipud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordHepipud/subscriptions","organizations_url":"https://api.github.com/users/LordHepipud/orgs","repos_url":"https://api.github.com/users/LordHepipud/repos","events_url":"https://api.github.com/users/LordHepipud/events{/privacy}","received_events_url":"https://api.github.com/users/LordHepipud/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":11,"state":"open","created_at":"2017-07-10T13:41:11Z","updated_at":"2017-07-12T11:21:17Z","due_on":"2017-07-16T07:00:00Z","closed_at":null},"comments":3,"created_at":"2017-07-12T08:21:27Z","updated_at":"2017-07-12T16:57:37Z","closed_at":null,"body":"We forgot to provide some information (e.g. `-InstallAgentVersion` ) so the module was not able to install the agent. The script exited with code `0` nonetheless."},"comment":{"url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/issues/comments/314831711","html_url":"https://github.com/Icinga/icinga2-powershell-module/issues/39#issuecomment-314831711","issue_url":"https://api.github.com/repos/Icinga/icinga2-powershell-module/issues/39","id":314831711,"user":{"login":"matthenning","id":5699183,"avatar_url":"https://avatars0.githubusercontent.com/u/5699183?v=3","gravatar_id":"","url":"https://api.github.com/users/matthenning","html_url":"https://github.com/matthenning","followers_url":"https://api.github.com/users/matthenning/followers","following_url":"https://api.github.com/users/matthenning/following{/other_user}","gists_url":"https://api.github.com/users/matthenning/gists{/gist_id}","starred_url":"https://api.github.com/users/matthenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthenning/subscriptions","organizations_url":"https://api.github.com/users/matthenning/orgs","repos_url":"https://api.github.com/users/matthenning/repos","events_url":"https://api.github.com/users/matthenning/events{/privacy}","received_events_url":"https://api.github.com/users/matthenning/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T16:57:37Z","updated_at":"2017-07-12T16:57:37Z","body":"Maybe you could implement PowerShell's Common Parameters (https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.core/about/about_commonparameters) or more specifically the `-ErrorAction` Parameter and decide whether to cancel the setup with exit code 1 or continue when encountering an error based on it's setting.\r\n\r\nThe official ErrorAction behaviours are\r\n\r\n```\r\nContinue\r\nIgnore\r\nInquire\r\nSilentlyContinue\r\nStop\r\nSuspend\r\n```"}}
{"actor":{"display_login":"matthenning"}}