mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-15 02:21:39 +00:00
solo correr codigo de reintento en sharepoint
This commit is contained in:
parent
afa54ee644
commit
0c86f0e3e3
1 changed files with 4 additions and 1 deletions
|
@ -77,7 +77,10 @@ const greens = Array(128)
|
|||
} catch (error) {
|
||||
if (error instanceof StatusCodeError) {
|
||||
// algunos servidores usan 403 como coso para decir "calmate"
|
||||
if (error.code === 403) {
|
||||
if (
|
||||
error.code === 403 &&
|
||||
dist.downloadURL.includes("minsegar-my.sharepoint.com")
|
||||
) {
|
||||
console.debug(
|
||||
`debug: reintentando ${dist.downloadURL} porque tiró 403`,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue