aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchwork/parser.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/patchwork/parser.py b/patchwork/parser.py
index 1568bc4..05249df 100644
--- a/patchwork/parser.py
+++ b/patchwork/parser.py
@@ -156,7 +156,7 @@ def find_project_by_id(list_id):
try:
project = Project.objects.get(listid=list_id)
except Project.DoesNotExist:
- pass
+ logger.debug("'%s' if not a valid project list-id", list_id)
return project
@@ -185,6 +185,9 @@ def find_project_by_header(mail):
if project:
break
+ if not project:
+ logger.debug("Could not find a list-id in mail headers", list_id)
+
return project