]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei refresh-mail-sync: remove "gone" notices
authorEric Wong <e@80x24.org>
Fri, 17 Sep 2021 01:56:41 +0000 (20:56 -0500)
committerEric Wong <e@80x24.org>
Fri, 17 Sep 2021 04:41:05 +0000 (04:41 +0000)
Those stderr messages are not useful at all, and harmful with
the noise they cause.

lib/PublicInbox/LeiRefreshMailSync.pm

index 3c083965514296779b4a1c5503af29c5cb30995a..71fc348c491e9850f01151b7577d7b9dd44539bd 100644 (file)
@@ -31,14 +31,12 @@ sub prune_mdir { # lms->each_src callback
                }
        }
        # both tries failed
-       $self->{lei}->qerr("# maildir:$mdir $$id gone");
        $self->{lei}->{sto}->ipc_do('lms_clear_src', "maildir:$mdir", $id);
 }
 
 sub prune_imap { # lms->each_src callback
        my ($oidbin, $uid, $self, $uids, $url) = @_;
        return if exists $uids->{$uid};
-       $self->{lei}->qerr("# $url $uid gone");
        $self->{lei}->{sto}->ipc_do('lms_clear_src', $url, $uid);
 }