Skip to content

Commit

Permalink
fix(import-products): add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Oct 4, 2024
1 parent f094e87 commit 2fe1bfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions/lib/integration/import-product.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ module.exports = async ({ appSdk, storeId, auth }, _blingStore, blingDeposit, qu
logger.info(`#${storeId} skipping ${sku} / ${productId} => isHiddenQueue: ${err.isHiddenQueue}`)
return { status: 'skipping' }
}
if (err.response && err.response.data) {
logger.warn(`${err.response.data}`)
}
throw err
})
}

0 comments on commit 2fe1bfb

Please sign in to comment.