From 600ddc5a666fea2e43a8064a5ab395cd93b4a1f6 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 2 Aug 2021 14:00:54 +0200 Subject: [PATCH] Added error-message to error-log --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 01ff6b4..9f6daf2 100755 --- a/daemon.py +++ b/daemon.py @@ -136,6 +136,7 @@ def updateNsData(zone): if dnscontrolPush(zone) != 0: raise "Pushing data failed!" except: + log.error(f'{adaptedZone} |\t{sys.exc_info()}') log.error(f'{adaptedZone} |\tUpdating NS-Data failed!') def adaptZoneName(zone):