Release logging to sentry

This commit is contained in:
Howl
2016-06-17 10:34:53 +02:00
parent 427f2ff890
commit b3e31734f5
4 changed files with 17 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ func Start(conf common.Conf, dbO *sql.DB) *gin.Engine {
if conf.SentryDSN != "" {
ravenClient, err := raven.New(conf.SentryDSN)
ravenClient.SetRelease(common.Version)
if err != nil {
fmt.Println(err)
} else {