From 3dba5ecae440817434b182e5f0148016db826634 Mon Sep 17 00:00:00 2001 From: Alex Legler Date: Sat, 21 Feb 2015 22:57:39 +0100 Subject: Print filename for failed files --- ag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ag') 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 -- cgit v1.2.3-65-gdbad