Skip to content

Commit

Permalink
Update denokv_leaderboard_client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid committed Oct 14, 2023
1 parent 6200b8e commit e802678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/leaderboard/denokv/denokv_leaderboard_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class DenoKvLeaderboardClient implements LeaderboardClient {
season,
).commit();
if (!updateSeasonResult.ok) {
throw new Error("Failed to update season");
throw updateSeasonResult;
}

// Update the current season ID.
Expand All @@ -94,7 +94,7 @@ export class DenoKvLeaderboardClient implements LeaderboardClient {
season.id,
);
if (!updateSeasonIDResult.ok) {
throw new Error("Failed to update season ID");
throw updateSeasonIDResult;
}

return;
Expand Down

0 comments on commit e802678

Please sign in to comment.