Show error when a fedi user isn't found
This commit is contained in:
parent
3a0cd6452c
commit
0b39ed6410
1 changed files with 2 additions and 0 deletions
|
@ -89,3 +89,5 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
event["stdout"].write("%s: %s - %s" % (preferred_username,
|
||||
content, shorturl))
|
||||
else:
|
||||
raise utils.EventError("User not found")
|
||||
|
|
Loading…
Reference in a new issue