mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
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)
|
return get_backend().fetch_iri(url)
|
||||||
except (ActivityNotFoundError, ActivityGoneError):
|
except (ActivityNotFoundError, ActivityGoneError):
|
||||||
return f"Deleted<{url}>"
|
return f"Deleted<{url}>"
|
||||||
|
except Exception:
|
||||||
|
return f"Error<{url}>"
|
||||||
|
|
||||||
|
|
||||||
@app.template_filter()
|
@app.template_filter()
|
||||||
|
|
Loading…
Reference in a new issue