commit: 3dba5ecae440817434b182e5f0148016db826634
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sat Feb 21 21:57:39 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 21:57:58 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=3dba5eca
Print filename for failed files
---
ag | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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