From 029d3b86402281ed6aed4431423f90493bbcd965 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 6 Jul 2018 19:47:11 +0200 Subject: [PATCH] Make error message on messageid-refind-failure more helpful --- loader/lib/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/lib/storage.py b/loader/lib/storage.py index 9f43491..4eaf33d 100644 --- a/loader/lib/storage.py +++ b/loader/lib/storage.py @@ -88,7 +88,7 @@ class ArchivesParserStorage(ArchivesParser): return True if overwrite: - raise Exception("Attempt to overwrite message that doesn't exist!") + raise Exception("Attempt to overwrite message (%s) that doesn't exist on list %s!" % (self.msgid, listid)) # Always purge the primary list for this thread self.purge_list(listid, self.date.year, self.date.month) -- 2.39.5