]> git.ipfire.org Git - thirdparty/samba.git/commit
samba-tool dns: add a wrapper for better error messages
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 12 Aug 2022 04:38:59 +0000 (16:38 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 6 Sep 2022 21:12:36 +0000 (21:12 +0000)
commit26b86bc57e85280a9fc9aba26a49a16859c91b78
treeba4c9e335c9824cab00ffd1db886292a7949ddfa
parentc824ad8dcb9222a75c7bdf756f605b840fb68a00
samba-tool dns: add a wrapper for better error messages

This will help turn simple common errors into CommandError messages.

At this stage, no messages are intercepted.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/dns.py