From 2aeaae4e16564c1c4a9d2061809d022c7041f853 Mon Sep 17 00:00:00 2001 From: Luiz Gustavo Abou Hatem De Liz Date: Wed, 27 Sep 2023 18:50:40 -0300 Subject: [PATCH] Changing "Unsupported pool type" error to warning --- src/pools/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pools/index.ts b/src/pools/index.ts index 45db5f49..5d913df5 100644 --- a/src/pools/index.ts +++ b/src/pools/index.ts @@ -62,7 +62,7 @@ export function parseNewPool( try { const isLinear = pool.poolType.toString().includes('Linear'); if (!isLinear && !(pool.poolType in PoolFilter)) { - console.error(`Unsupported pool type: ${pool.poolType} ${pool.id}`); + console.warn(`Unsupported pool type: ${pool.poolType} ${pool.id}`); return undefined; } if (pool.poolType === 'Weighted' || pool.poolType === 'Investment') {