From: Eric Bollengier Date: Wed, 30 Mar 2011 13:47:37 +0000 (+0200) Subject: Tweak add some information if joblog is missing X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=150b47d62a16f70fdb39db81547ca3080a3e5fe7;p=bacula%2Fbacula Tweak add some information if joblog is missing --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index e4870596b0..7e51781636 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -4616,7 +4616,9 @@ SELECT count(1) AS nbline, my $log = $self->dbh_selectrow_hashref($query); unless ($log) { - return $self->error("Can't get log for jobid $arg->{jobid}"); + return $self->error("Can't get log for jobid $arg->{jobid}, check that +your 'Messages' resources include 'catalog = all' and you loaded Bweb SQL +functions in your Catalog."); } $log->{logtxt} =~ s/\0//g; $self->display({ lines=> $log->{logtxt},