diff --git a/modules/fediverse/__init__.py b/modules/fediverse/__init__.py index 6e5ef5bc..dd465d6b 100644 --- a/modules/fediverse/__init__.py +++ b/modules/fediverse/__init__.py @@ -69,10 +69,11 @@ class Module(ModuleManager.BaseModule): actor_url = ap_utils.find_actor(username, instance) if not actor_url: - raise utils.EventError("Failed to find actor") + raise utils.EventError("Failed to find user") actor = ap_actor.Actor(actor_url) - actor.load() + if not actor.load(): + raise utils.EventError("Failed to find user") items = actor.outbox.load() if not items: