Use console.log for retry logging (#13722)

This commit is contained in:
Charles Gagnon
2020-12-08 08:42:45 -08:00
committed by GitHub
parent e169005571
commit a74119038f

View File

@@ -259,7 +259,7 @@ async function retry<T>(fn: () => Promise<T>): Promise<T> {
if (!/ECONNRESET/.test(err.message)) {
throw err;
}
console.warn(`Caught error ${err} - ${run}/${RETRY_TIMES}`);
console.log(`Caught error ${err} - ${run}/${RETRY_TIMES}`);
}
}