From eba48f94e10f12a29a2992f9d177b3f44f1bc187 Mon Sep 17 00:00:00 2001 From: Kory Becker Date: Wed, 2 Oct 2024 11:34:41 -0400 Subject: [PATCH] Add coverage. --- pybossa/cache/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybossa/cache/users.py b/pybossa/cache/users.py index 2a0944718..758a73c8d 100644 --- a/pybossa/cache/users.py +++ b/pybossa/cache/users.py @@ -119,7 +119,7 @@ def get_user_summary(name, current_user=None): return None else: return user - else: # pragma: no cover + else: current_app.logger.info("Method get_user_summary(): user is None for user name %s, current user id %s, current user name %s", name, current_user.id if current_user else None, current_user.name if current_user else None) return None