stacks-archive / zone-file-py

DNS Zone File Converter
MIT License
52 stars 28 forks source link

Added useful error message for invalid line #16

Open chrisspen opened 7 years ago

chrisspen commented 7 years ago

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.

shea256 commented 7 years ago

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

chrisspen commented 7 years ago

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.