You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Minor tweals
This commit is contained in:
@ -85,6 +85,9 @@ shim.fetchRequestCanBeRetried = function(error) {
|
||||
// Code: ETIMEDOUT
|
||||
if (error.code === 'ETIMEDOUT') return true;
|
||||
|
||||
// ECONNREFUSED is generally temporary
|
||||
if (error.code === 'ECONNREFUSED') return true;
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user