From 65d72cb789def6cf6eae65af74171d3a7d593dc4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 7 Dec 2020 18:45:33 +0100 Subject: [PATCH] pdnsutil edit-zone: do not exit on ZoneParser exception --- pdns/pdnsutil.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index a8b1ffc577..99affedbcc 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1063,6 +1063,12 @@ static int editZone(const DNSName &zone) { gotoline = fnum.second; goto reAsk; } + catch(PDNSException& e) { + cerr<<"Problem: "<