mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
add ERR_ADDRESS_UNREACHABLE as expected sync exception, #1888
This commit is contained in:
parent
30ec706d37
commit
6d2d72fa7f
@ -59,6 +59,7 @@ async function sync() {
|
||||
if (e.message &&
|
||||
(e.message.includes('ECONNREFUSED') ||
|
||||
e.message.includes('ERR_CONNECTION_REFUSED') ||
|
||||
e.message.includes('ERR_ADDRESS_UNREACHABLE') ||
|
||||
e.message.includes('Bad Gateway'))) {
|
||||
|
||||
ws.syncFailed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user