skyfffire hace 2 años
padre
commit
a9e8e37350
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      scripts/uniswap_swap_router_listener.ts

+ 2 - 1
scripts/uniswap_swap_router_listener.ts

@@ -38,7 +38,8 @@ async function main() {
     try {
       await onTick(blockNumber)
     } catch (error) {
-      console.error(error)
+      logger.error(blockNumber)
+      logger.error(error)
     }
 
     await sleep(1000)