mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 00:53:56 +00:00
soft_deactivation: Remove unnecessary nocoverage lines.
These are unnecessary given the `# nocoverage` on the above `except Exception`.
This commit is contained in:
committed by
Tim Abbott
parent
c6fd943a55
commit
d87c0b43f1
@@ -377,8 +377,8 @@ def do_catch_up_soft_deactivated_users(users: Iterable[UserProfile]) -> list[Use
|
||||
except Exception: # nocoverage
|
||||
logger.exception(
|
||||
"Failed to catch up %d@%s", user_profile.id, user_profile.realm.string_id
|
||||
) # nocoverage
|
||||
failures.append(user_profile) # nocoverage
|
||||
)
|
||||
failures.append(user_profile)
|
||||
logger.info("Caught up %d soft-deactivated users", len(users_caught_up))
|
||||
if failures:
|
||||
logger.error("Failed to catch up %d soft-deactivated users", len(failures)) # nocoverage
|
||||
|
||||
Reference in New Issue
Block a user