Added error-message to error-log

master
Ruakij 3 years ago
parent 0ea943dcba
commit 600ddc5a66

@ -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):

Loading…
Cancel
Save