add debug logs

This commit is contained in:
Hongbo Wu
2023-06-14 12:53:43 +08:00
parent 11cf9f7c28
commit d2e476a3ea

View File

@ -461,6 +461,7 @@ async function fetchContent(req, res) {
// mark import failed on the last failed retry
const retryCount = req.headers['x-cloudtasks-taskretrycount'];
if (retryCount == MAX_RETRY_COUNT) {
console.debug('max retry count reached');
importStatus = importStatus || 'failed';
}