I cannot believe I am so stupid

This commit is contained in:
Howl 2016-10-02 21:58:43 +02:00
parent a060187547
commit 46c723c7b6
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ func Start(conf common.Conf, dbO *sqlx.DB) *gin.Engine {
}
// datadog
doggo, err := statsd.New("127.0.0.1:8125")
var err error
doggo, err = statsd.New("127.0.0.1:8125")
if err != nil {
fmt.Println(err)
}