File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -563,10 +563,11 @@ export const createAeroProcessor = () => {
563563 token1Contract . decimals ( ) ,
564564 ] )
565565 } catch ( err ) {
566- throw new Error (
566+ ctx . log . error (
567567 `Failed to fetch ERC20 metadata for Aerodrome pool ${ data . pool } at block ${ block . header . height } . ` +
568568 `token0=${ data . token0 } , token1=${ data . token1 } . Original error: ${ err } ` ,
569569 )
570+ continue
570571 }
571572 const type = data . stable ? 'sAMM' : 'vAMM'
572573 const pool = new Pool ( {
@@ -597,10 +598,11 @@ export const createAeroProcessor = () => {
597598 token1Contract . decimals ( ) ,
598599 ] )
599600 } catch ( err ) {
600- throw new Error (
601+ ctx . log . error (
601602 `Failed to fetch ERC20 metadata for Aerodrome CL pool ${ data . pool } at block ${ block . header . height } . ` +
602603 `token0=${ data . token0 } , token1=${ data . token1 } . Original error: ${ err } ` ,
603604 )
605+ continue
604606 }
605607 const type = `CL${ data . tickSpacing } `
606608 const pool = new Pool ( {
You can’t perform that action at this time.
0 commit comments