forked from GNUsocial/gnu-social
If a Notice insert fails, don't continue processing it
This commit is contained in:
parent
e0d0a59706
commit
411ce0629c
@ -686,6 +686,7 @@ class Notice extends Managed_DataObject
|
||||
if (!empty($notice->id)) {
|
||||
$notice->delete();
|
||||
}
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user