aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/resolvers/basic.lua2
-rw-r--r--net/resolvers/service.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua
index b62440e1..495a348e 100644
--- a/net/resolvers/basic.lua
+++ b/net/resolvers/basic.lua
@@ -23,7 +23,7 @@ function methods:next(cb)
end
if not self.hostname then
- -- FIXME report IDNA error
+ self.last_error = "hostname failed IDNA";
cb(nil);
return;
end
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua
index 4988f423..b476cb2c 100644
--- a/net/resolvers/service.lua
+++ b/net/resolvers/service.lua
@@ -34,7 +34,7 @@ function methods:next(cb)
end
if not self.hostname then
- -- FIXME report IDNA error
+ self.last_error = "hostname failed IDNA";
cb(nil);
return;
end