We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be748f commit 9621020Copy full SHA for 9621020
redisinsight/api/src/utils/catch-redis-errors.ts
@@ -34,6 +34,11 @@ export const getRedisConnectionException = (
34
errorPlaceholder: string = '',
35
): HttpException => {
36
const { host, port } = connectionOptions;
37
+
38
+ if (error instanceof HttpException) {
39
+ return error;
40
+ }
41
42
if (error?.message) {
43
if (error.message.includes(RedisErrorCodes.SentinelParamsRequired)) {
44
return new HttpException(
0 commit comments