bot: Bot setup and teardown done: Connect w/retry, join/leave, full config, and logging.

This commit is contained in:
2018-11-14 21:01:29 +01:00
parent 112c29694d
commit 7336ea2b47
9 changed files with 236 additions and 76 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ func (client *Client) Query(ctx context.Context, query string, variables map[str
if res.StatusCode >= 500 {
stuff, _ := ioutil.ReadAll(res.Body)
fmt.Println(string(stuff))
return nil, errors.New("Internal srever error")
return nil, errors.New("Internal server error")
}
// Parse response