diff --git a/source/cartastraccia/actor.d b/source/cartastraccia/actor.d index beca0f9..407f70b 100644 --- a/source/cartastraccia/actor.d +++ b/source/cartastraccia/actor.d @@ -128,9 +128,8 @@ */ void feedActor(immutable string feedName, immutable string path, immutable uint retries) @trusted nothrow { - RSS rss; - try { + RSS rss; URL url = URL(path); auto req = Request(); req.keepAlive = false; @@ -166,7 +165,8 @@ feedActor(feedName, path, retries+1); // retry by recurring return; } - listenOnce(feedName, FailedRSS(e.msg)); + RSS frs = FailedRSS(e.msg); + listenOnce(feedName, frs); } }