Use console.log for retry logging (#13722) (#13723)

(cherry picked from commit a74119038f)
This commit is contained in:
Charles Gagnon
2020-12-08 10:28:02 -08:00
committed by GitHub
parent cd0b5cbc7a
commit 634ea0ab6a

View File

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