Commit cdd72fae authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Update changelog.

parent dc526a46
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
- Improve extraction of purchases and subscriptions from Apple receipts.
- Improve signature of JavaScript runtime Base64 decode functions.
- Improve signature of JavaScript runtime Base16 encode and decode functions.
- Token and credential inputs on unlink operations are now optional.

### Fixed
- Graceful handling of storage list errors in JavaScript runtime.
+4 −4
Original line number Diff line number Diff line
@@ -177,12 +177,12 @@ func NewLocalLeaderboardRankCache(ctx context.Context, startupLogger *zap.Logger

				rows, err := db.QueryContext(ctx, query, params...)
				if err != nil {
					startupLogger.Error("Failed to caching leaderboard ranks", zap.String("leaderboard_id", leaderboard.Id), zap.Error(err))
					startupLogger.Error("Failed to cache leaderboard ranks", zap.String("leaderboard_id", leaderboard.Id), zap.Error(err))
					if err == context.Canceled {
						return // all further attempts will be failing, no point in trying them
					} else {
						break
						// All further queries will fail, no need to continue looping through leaderboards.
						return
					}
					break
				}

				// Read score information.