From 73d3daf8ce862e57cb79d51903b790e5ce7e52fc Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 30 Mar 2011 15:47:37 +0200 Subject: [PATCH] Tweak add some information if joblog is missing --- gui/bweb/lib/Bweb.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}, -- 2.39.2