From: Eric Bollengier Date: Wed, 30 Mar 2011 13:47:37 +0000 (+0200) Subject: Tweak add some information if joblog is missing X-Git-Tag: Release-5.2.1~497 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=73d3daf8ce862e57cb79d51903b790e5ce7e52fc;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},