]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak add some information if joblog is missing
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 30 Mar 2011 13:47:37 +0000 (15:47 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:44:31 +0000 (14:44 +0200)
gui/bweb/lib/Bweb.pm

index e4870596b0bd908495bf56e148d4a7ffc0b994be..7e5178163673b3b815f9698df37fcfb3503b5211 100644 (file)
@@ -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},