Missing raw_msg=True

This commit is contained in:
Alexandre Aubin 2021-04-08 15:35:09 +02:00
parent 05a374d8d5
commit 0af05ea312

View file

@ -260,7 +260,7 @@ def dyndns_update(
ok, result = dig(dyn_host, "A")
dyn_host_ip = result[0] if ok == "ok" and len(result) else None
if not dyn_host_ip:
raise YunohostError("Failed to resolve %s" % dyn_host)
raise YunohostError("Failed to resolve %s" % dyn_host, raw_msg=True)
ok, result = dig(domain, rdtype, resolvers=[dyn_host_ip])
if ok == "ok":