[tools] testbot/UpdateFailures: Tweak the save error message.

Francois Gouget fgouget at codeweavers.com
Tue Jul 5 10:51:26 CDT 2022


The error message already contains the name of the invalid field(s).

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/UpdateFailures.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/UpdateFailures.pl b/testbot/bin/UpdateFailures.pl
index f324cca280..b1c8e0719a 100755
--- a/testbot/bin/UpdateFailures.pl
+++ b/testbot/bin/UpdateFailures.pl
@@ -193,10 +193,10 @@ foreach my $FailureId (@FailureIds)
   }
 }
 
-my ($ErrKey, $ErrProperty, $ErrMessage) = $Failures->Save();
+my ($ErrKey, $_ErrProperty, $ErrMessage) = $Failures->Save();
 if ($ErrMessage)
 {
-  Error("Could not save $ErrKey because of the $ErrProperty field: $ErrMessage\n");
+  Error("Could not save failure $ErrKey: $ErrMessage\n");
   exit 1;
 }
 
-- 
2.30.2



More information about the wine-devel mailing list