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-7.0.0~2562 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=de3a5d21aa81f70e84a70b672a1926b2ae2122b0;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) { /*