testbot/web: Fix the Submit page RescheduleJobs() error reporting.

Francois Gouget fgouget at codeweavers.com
Fri May 16 04:07:06 CDT 2014


---

This should fix the Submit page while still reporting errors.
It matches the error reporting we do for database errors a few lines up.

 testbot/web/Submit.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/Submit.pl b/testbot/web/Submit.pl
index d381150..d50a3d9 100644
--- a/testbot/web/Submit.pl
+++ b/testbot/web/Submit.pl
@@ -922,7 +922,7 @@ sub OnSubmit
   my $ErrMessage = RescheduleJobs();
   if (defined $ErrMessage)
   {
-    LogMsg "$ErrMessage\n";
+    $self->{ErrMessage} = $ErrMessage;
     $self->{Page} = 4;
     $self->{JobKey} = $JobKey;
     return !1;
-- 
2.0.0.rc0



More information about the wine-patches mailing list