mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
(cherry picked from commit a74119038f)
This commit is contained in:
@@ -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}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user