From de3a5d21aa81f70e84a70b672a1926b2ae2122b0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 22 Nov 2009 10:54:35 +0100 Subject: [PATCH] Add error count to Fatal job errors --- bacula/src/filed/backup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index d1e5a030ab..d9753d00c8 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -1032,7 +1032,7 @@ static int send_data(JCR *jcr, int stream, FF_PKT *ff_pkt, DIGEST *digest, Jmsg(jcr, M_ERROR, 0, _("Read error on file %s. ERR=%s\n"), ff_pkt->fname, be.bstrerror(ff_pkt->bfd.berrno)); if (jcr->JobErrors++ > 1000) { /* insanity check */ - Jmsg(jcr, M_FATAL, 0, _("Too many errors.\n")); + Jmsg(jcr, M_FATAL, 0, _("Too many errors. JobErrors=%d.\n"), jcr->JobErrors); } } else if (ff_pkt->flags & FO_ENCRYPT) { /* -- 2.39.5