Skip to content

Commit

Permalink
chore: add final else statement in mget operation
Browse files Browse the repository at this point in the history
  • Loading branch information
rishtigupta committed Apr 19, 2024
1 parent 0ccd643 commit c25bc68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/momento-redis-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ export class MomentoRedisAdapter
}
} else if (resp instanceof CacheGetBatch.Error) {
this.emitError('mget', resp.message(), resp.errorCode());
} else {
this.emitError('mget', `unexpected-response ${resp.toString()}`);
}
return [];
}
Expand Down

0 comments on commit c25bc68

Please sign in to comment.