zone-file-py icon indicating copy to clipboard operation
zone-file-py copied to clipboard

Added useful error message for invalid line

Open chrisspen opened this issue 7 years ago • 2 comments

If a zone file contains an invalid line, an zone_file.exceptions.InvalidLineException exception is thrown, but it doesn't say what's wrong with the line or which line it is, leaving the developer to dig through the code looking to an explanation.

chrisspen avatar Apr 04 '17 17:04 chrisspen

Hey @chrisspen thanks for reporting. We'll look at this soon. Also curious what you use this library for.

shea256 avatar Apr 04 '17 19:04 shea256

Thanks. I'm using it, along with an API, to automate some DNS updates, so I don't have to manually login to my DNS provider's website and manually update records.

chrisspen avatar Apr 04 '17 19:04 chrisspen