diff --git a/src/common/notify.ts b/src/common/notify.ts index 9b15929..7ddf712 100644 --- a/src/common/notify.ts +++ b/src/common/notify.ts @@ -186,6 +186,10 @@ export class ZncNotifications extends Loop { } else if ('code' in err && (err as any).type === 'system' && err.code === 'ENOTFOUND') { debug('Request error, waiting %ds before retrying', this.update_interval, err); + return LoopResult.OK; + } else if ('code' in err && (err as any).type === 'system' && err.code === 'EAI_AGAIN') { + debug('Request error - name resolution failed, waiting %ds before retrying', this.update_interval, err); + return LoopResult.OK; } else { throw err;