Francois Gouget : testbot/UpdateFailures: Tweak the save error message.
Alexandre Julliard
julliard at winehq.org
Tue Jul 5 15:51:23 CDT 2022
Module: tools
Branch: master
Commit: bbb85bacf5aa11cb60c602c1fa9a3787dc22a363
URL: https://source.winehq.org/git/tools.git/?a=commit;h=bbb85bacf5aa11cb60c602c1fa9a3787dc22a363
Author: Francois Gouget <fgouget at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list