Template tweak
This commit is contained in:
parent
854f48495e
commit
c01cc39e20
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
@ -284,6 +284,8 @@ def get_actor(url):
|
|||
return get_backend().fetch_iri(url)
|
||||
except (ActivityNotFoundError, ActivityGoneError):
|
||||
return f"Deleted<{url}>"
|
||||
except Exception:
|
||||
return f"Error<{url}>"
|
||||
|
||||
|
||||
@app.template_filter()
|
||||
|
|
Loading…
Reference in a new issue