Francois Gouget : testbot/UpdateFailures: Tweak the save error message.
Module: tools Branch: master Commit: bbb85bacf5aa11cb60c602c1fa9a3787dc22a363 URL: https://source.winehq.org/git/tools.git/?a=commit;h=bbb85bacf5aa11cb60c602c1... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Tue Jul 5 17:51:26 2022 +0200 testbot/UpdateFailures: Tweak the save error message. The error message already contains the name of the invalid field(s). Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 f324cca2..b1c8e071 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; }
participants (1)
-
Alexandre Julliard