{"action":"opened","issue":{"url":"https://api.github.com/repos/LaMonF/FDJ_SLACK/issues/19","repository_url":"https://api.github.com/repos/LaMonF/FDJ_SLACK","labels_url":"https://api.github.com/repos/LaMonF/FDJ_SLACK/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/LaMonF/FDJ_SLACK/issues/19/comments","events_url":"https://api.github.com/repos/LaMonF/FDJ_SLACK/issues/19/events","html_url":"https://github.com/LaMonF/FDJ_SLACK/issues/19","id":383313794,"node_id":"MDU6SXNzdWUzODMzMTM3OTQ=","number":19,"title":"Application Fails if full results are not yet provided by API","user":{"login":"LaMonF","id":3426336,"node_id":"MDQ6VXNlcjM0MjYzMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/3426336?v=4","gravatar_id":"","url":"https://api.github.com/users/LaMonF","html_url":"https://github.com/LaMonF","followers_url":"https://api.github.com/users/LaMonF/followers","following_url":"https://api.github.com/users/LaMonF/following{/other_user}","gists_url":"https://api.github.com/users/LaMonF/gists{/gist_id}","starred_url":"https://api.github.com/users/LaMonF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaMonF/subscriptions","organizations_url":"https://api.github.com/users/LaMonF/orgs","repos_url":"https://api.github.com/users/LaMonF/repos","events_url":"https://api.github.com/users/LaMonF/events{/privacy}","received_events_url":"https://api.github.com/users/LaMonF/received_events","type":"User","site_admin":false},"labels":[{"id":1062740496,"node_id":"MDU6TGFiZWwxMDYyNzQwNDk2","url":"https://api.github.com/repos/LaMonF/FDJ_SLACK/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"LaMonF","id":3426336,"node_id":"MDQ6VXNlcjM0MjYzMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/3426336?v=4","gravatar_id":"","url":"https://api.github.com/users/LaMonF","html_url":"https://github.com/LaMonF","followers_url":"https://api.github.com/users/LaMonF/followers","following_url":"https://api.github.com/users/LaMonF/following{/other_user}","gists_url":"https://api.github.com/users/LaMonF/gists{/gist_id}","starred_url":"https://api.github.com/users/LaMonF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaMonF/subscriptions","organizations_url":"https://api.github.com/users/LaMonF/orgs","repos_url":"https://api.github.com/users/LaMonF/repos","events_url":"https://api.github.com/users/LaMonF/events{/privacy}","received_events_url":"https://api.github.com/users/LaMonF/received_events","type":"User","site_admin":false},"assignees":[{"login":"LaMonF","id":3426336,"node_id":"MDQ6VXNlcjM0MjYzMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/3426336?v=4","gravatar_id":"","url":"https://api.github.com/users/LaMonF","html_url":"https://github.com/LaMonF","followers_url":"https://api.github.com/users/LaMonF/followers","following_url":"https://api.github.com/users/LaMonF/following{/other_user}","gists_url":"https://api.github.com/users/LaMonF/gists{/gist_id}","starred_url":"https://api.github.com/users/LaMonF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaMonF/subscriptions","organizations_url":"https://api.github.com/users/LaMonF/orgs","repos_url":"https://api.github.com/users/LaMonF/repos","events_url":"https://api.github.com/users/LaMonF/events{/privacy}","received_events_url":"https://api.github.com/users/LaMonF/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-21T22:29:44Z","updated_at":"2018-11-21T22:29:44Z","closed_at":null,"author_association":"OWNER","body":"When results coming from the API are not up to date yet ! application fails with : \r\n````\r\n2018/11/21 21:00:00 Info [[ Résultats du mercredi 21 novembre 2018 Numéros : 20 - 21  \r\n    - 22 - 23 - 45 Numéro Chance : 10 Les rapports complets du tirage ne sont pas encore dd\r\n    isponibles, le flux sera mis �|  jour dès publication des informations.]]\r\n161 2018/11/21 21:00:00 cron: panic running job: runtime error: index out of range\r\n162 goroutine 76 [running]:\r\n163 github.com/robfig/cron.(*Cron).runWithRecovery.func1(0xc4200a4230)\r\n164         /home/monf/go/src/github.com/robfig/cron/cron.go:161 +0xbc\r\n165 panic(0x6973c0, 0x871f90)\r\n166         /usr/lib/go-1.10/src/runtime/panic.go:502 +0x229\r\n167 github.com/LaMonF/FDJ_SLACK/parser.(*LesBonsNumerosAPIParser).ParseData(0xc420059cc8, 0    xc420516000, 0x3e93, 0x7e00, 0x4a9252, 0xc420466000, 0x6f2025)\r\n168         /home/monf/go/src/github.com/LaMonF/FDJ_SLACK/parser/LesBonsNumerosAPIParser.go    :82 +0x7e0\r\n169 main.getLotteryResult(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\r\n170         /home/monf/go/src/github.com/LaMonF/FDJ_SLACK/main.go:77 +0xc8\r\n171 main.getResultAndPostToSlack(0x0, 0x0, 0x0)\r\n172         /home/monf/go/src/github.com/LaMonF/FDJ_SLACK/main.go:58 +0x65\r\n173 main.setUpCron.func1()\r\n174         /home/monf/go/src/github.com/LaMonF/FDJ_SLACK/main.go:53 +0x32\r\n175 github.com/robfig/cron.FuncJob.Run(0x7036e8)\r\n176         /home/monf/go/src/github.com/robfig/cron/cron.go:92 +0x25\r\n177 github.com/robfig/cron.(*Cron).runWithRecovery(0xc4200a4230, 0x725a60, 0x7036e8)\r\n178         /home/monf/go/src/github.com/robfig/cron/cron.go:165 +0x57\r\n179 created by github.com/robfig/cron.(*Cron).run\r\n180         /home/monf/go/src/github.com/robfig/cron/cron.go:199 +0x744\r\n````"}}
{"actor":{"display_login":"LaMonF"}}