diff --git a/lib/FilesHooks.php b/lib/FilesHooks.php index 84d7ca8ee..9d0d95cca 100644 --- a/lib/FilesHooks.php +++ b/lib/FilesHooks.php @@ -1213,6 +1213,8 @@ protected function addNotificationsForUser($user, $subject, $subjectParams, $fil 'exception' => $e, ], ); + // Do not publish the incompletely built event + return; } // Add activity to stream