Skip to content

Commit

Permalink
feat: update log
Browse files Browse the repository at this point in the history
  • Loading branch information
nofir committed Jan 22, 2025
1 parent 7356bed commit 5001b4b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/jobs/seaport-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,14 @@ export const fetchOrders = async (
if (error.response?.status === 429 || error.response?.status === 503) {
logger.warn(
"fetch_orders_seaport",
`Seaport - Rate Limited. side=${side}, cursor=${cursor}, error=${error}`
JSON.stringify(
{
message: `Seaport - Rate Limited. side=${side}, cursor=${cursor}, url=${url}, error=${error}`,
openseaApiUrl: config.openseaApiUrl,
openseaNftApiKey: config.openseaNftApiKey,
headers
}
)
);

if (cursor) {
Expand Down

0 comments on commit 5001b4b

Please sign in to comment.