We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689c633 commit fffdd82Copy full SHA for fffdd82
plugins/Fediverse/plugin.py
@@ -177,9 +177,15 @@ def _stopHttp(self):
177
178
def _has_webfinger_support(self, hostname):
179
if hostname not in self._webfinger_support_cache:
180
- self._webfinger_support_cache[hostname] = ap.has_webfinger_support(
181
- hostname
182
- )
+ try:
+ self._webfinger_support_cache[hostname] = ap.has_webfinger_support(
+ hostname
183
+ )
184
+ except Exception as e:
185
+ self.log.error(
186
+ "Checking Webfinger support for %s raised %s", hostname, e
187
188
+ return False
189
return self._webfinger_support_cache[hostname]
190
191
def _get_actor(self, irc, username):
0 commit comments