aboutsummaryrefslogtreecommitdiff
path: root/ag
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-02-21 22:57:39 +0100
committerAlex Legler <alex@a3li.li>2015-02-21 22:57:58 +0100
commit3dba5ecae440817434b182e5f0148016db826634 (patch)
treeaa5272b2aa77b9bcff1529bf04418a40d77326a8 /ag
parentWhitespace. (diff)
downloadbackend-3dba5ecae440817434b182e5f0148016db826634.tar.gz
backend-3dba5ecae440817434b182e5f0148016db826634.tar.bz2
backend-3dba5ecae440817434b182e5f0148016db826634.zip
Print filename for failed files
Diffstat (limited to 'ag')
-rwxr-xr-xag2
1 files changed, 1 insertions, 1 deletions
diff --git a/ag b/ag
index 7b6d662..4b857e3 100755
--- a/ag
+++ b/ag
@@ -127,7 +127,7 @@ def do_incremental
Ag::Storage.store($options.name, mail)
maildir_message.process unless $options.readonly
rescue => e
- $stderr.puts "Cannot save message #{mail.message_id}: #{e.message}"
+ $stderr.puts "Cannot save message #{mail.message_id} (file #{maildir_message.filename}): #{e.message}"
next
end
end