Loading CHANGELOG.md +5 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,11 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Log more error information when InitModule hooks from Go runtime plugins return errors. ### Fixed - Improve leaderboard rank re-calculation when removing a leaderboard record. ## [2.1.1] - 2018-10-21 ### Added Loading server/runtime_go.go +1 −1 Original line number Diff line number Diff line Loading @@ -1822,7 +1822,7 @@ func NewRuntimeProviderGo(logger, startupLogger *zap.Logger, db *sql.DB, config // Run the initialisation. if err = fn(context.Background(), stdLogger, db, nk, initializer); err != nil { startupLogger.Fatal("Error returned by InitModule function in Go module", zap.String("name", name)) startupLogger.Fatal("Error returned by InitModule function in Go module", zap.String("name", name), zap.Error(err)) return nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, errors.New("error returned by InitModule function in Go module") } modulePaths = append(modulePaths, relPath) Loading Loading
CHANGELOG.md +5 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,11 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Log more error information when InitModule hooks from Go runtime plugins return errors. ### Fixed - Improve leaderboard rank re-calculation when removing a leaderboard record. ## [2.1.1] - 2018-10-21 ### Added Loading
server/runtime_go.go +1 −1 Original line number Diff line number Diff line Loading @@ -1822,7 +1822,7 @@ func NewRuntimeProviderGo(logger, startupLogger *zap.Logger, db *sql.DB, config // Run the initialisation. if err = fn(context.Background(), stdLogger, db, nk, initializer); err != nil { startupLogger.Fatal("Error returned by InitModule function in Go module", zap.String("name", name)) startupLogger.Fatal("Error returned by InitModule function in Go module", zap.String("name", name), zap.Error(err)) return nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, errors.New("error returned by InitModule function in Go module") } modulePaths = append(modulePaths, relPath) Loading