Use the err.msg rather than the err object
Merge pull request #97 from chilts/fix-updating-dns-error-message

Use the err.msg rather than the err object