From 50aaa8d9a1e98c25554fd1412702e4c73a9dc770 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 7 Nov 2020 20:13:13 -0800 Subject: [PATCH] Don't error on statuses that didn't get created --- bookwyrm/incoming.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/incoming.py b/bookwyrm/incoming.py index 8eca4cfbf..e9c5f6a8b 100644 --- a/bookwyrm/incoming.py +++ b/bookwyrm/incoming.py @@ -222,6 +222,8 @@ def handle_create(activity): return status = status_builder.create_status(activity['object']) + if not status: + return # create a notification if this is a reply if status.reply_parent and status.reply_parent.user.local: