Skip to content

Commit

Permalink
feat: update log
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeleg committed Feb 8, 2024
1 parent 97f4067 commit 25ab34f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/jobs/seaport-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ export const fetchOrders = async (
const orders: SeaportOrder[] = response.data.orders;

if (!orders) {
logger.error("fetch_orders_seaport", `Failed to get orders from ${JSON.stringify(options)}, response ${JSON.stringify(response)}`)
logger.error(
"fetch_orders_seaport",
`Failed to get orders from ${JSON.stringify(options)}, response ${JSON.stringify(
response
)}`
);
}

total += orders.length;
Expand Down Expand Up @@ -157,7 +162,7 @@ export const fetchOrders = async (
} else {
logger.error(
"fetch_orders_seaport",
`Seaport - Error. side=${side}, cursor=${cursor}, url=${url}, apiKey=${details?.apiKey}, realtimeOpenseaApiKey=${config.realtimeOpenseaApiKey}, error=${error}, stack=${error.stack}`
`Seaport - Error. side=${side}, cursor=${cursor}, config.openseaApiUrl=${config.openseaApiUrl}, url=${url}, apiKey=${details?.apiKey}, realtimeOpenseaApiKey=${config.realtimeOpenseaApiKey}, error=${error}, stack=${error.stack}`
);
}

Expand Down

0 comments on commit 25ab34f

Please sign in to comment.