From: Kern Sibbald Date: Sun, 22 Nov 2009 09:54:35 +0000 (+0100) Subject: Add error count to Fatal job errors X-Git-Tag: Release-5.0.0~245 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb3f4db4d5c77327922bd944439850ea86c40826;p=bacula%2Fbacula Add error count to Fatal job errors --- 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) { /*