diff --git a/src/momento-redis-adapter.ts b/src/momento-redis-adapter.ts index a7be5d4..d7b0758 100644 --- a/src/momento-redis-adapter.ts +++ b/src/momento-redis-adapter.ts @@ -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 []; }