Skip to content

Commit

Permalink
Changing "Unsupported pool type" error to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Gustavo Abou Hatem De Liz committed Sep 27, 2023
1 parent f204ddc commit 2aeaae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pools/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 2aeaae4

Please sign in to comment.