Panic when token bad
time="2018-03-27T15:11:21Z" level=info msg="New merge request" gitlabURL="https://login:token@gitlab.com/api/v4/projects/ContinuousEvolution/continuous-evolution/merge_requests/95" logger=downloader/pullRequest organisation=ContinuousEvolution projectName=continuous-evolution reprocessDistantID=95 time="2018-03-27T15:11:23Z" level=info msg="Response from host" headers="map[Cache-Control:[no-cache] Vary:[Origin] X-Runtime:[0.117739] Ratelimit-Resettime:[Wed, 27 Mar 2018 15:12:23 GMT] Www-Authenticate:[Bearer realm="Protected by OAuth 2.0", error="invalid_token", error_description="Token was revoked. You have to re-authorize from the user."] X-Request-Id:[c21814a2-bd1e-4b61-a5ee-8391994d6979] Ratelimit-Observed:[1] Server:[nginx] Date:[Tue, 27 Mar 2018 15:11:23 GMT] Content-Type:[application/json] Content-Length:[106] Ratelimit-Limit:[600] Ratelimit-Remaining:[599] Ratelimit-Reset:[1522163543]]" logger=project/io/http status="401 Unauthorized" panic: interface conversion: interface {} is nil, not string
goroutine 30 [running]: continuous-evolution/src/downloader.mergeRequest.buildProject(0x1, 0xc42031eb98, 0x4, 0xc4202e62a0, 0x11, 0x1010101, 0x7f2b5d590020, 0xc42032b0a0, 0xc42008aa80, 0x7d, ...) /go/src/continuous-evolution/src/downloader/mergeRequest.go:83 +0x1cb8 continuous-evolution/src/downloader.(*manager).BuildProject(0xc420249d40, 0xc42008aa80, 0x7d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/src/continuous-evolution/src/downloader/manager.go:67 +0x191 continuous-evolution/src/scheduler.(*scheduler).Start.func1(0xc42032b0a0, 0xc63400, 0xc420249d40, 0x7f2b5cd42000, 0xc4203ac480) /go/src/continuous-evolution/src/scheduler/scheduler.go:120 +0x26a created by continuous-evolution/src/scheduler.(*scheduler).Start /go/src/continuous-evolution/src/scheduler/scheduler.go:114 +0x108