From 0e4f08e6dfdfc9155257ead47e0ba33168d0e2a2 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Tue, 7 Aug 2018 22:48:38 +0800 Subject: [PATCH] Skip over deps lines with tagging errors - but warn about it --- scripts/generate_deps | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/generate_deps b/scripts/generate_deps index 68df6ad..25fccb6 100755 --- a/scripts/generate_deps +++ b/scripts/generate_deps @@ -31,7 +31,8 @@ while(<>) { for my $tv (split(/,/,$entry->{tags_raw})) { my ($tag,$val_raw) = split(/:/,$tv); if (!defined($val_raw)) { - die("Missing tag value"); + warn("Missing tag value"); + next; } my @values = split(/;/,$val_raw);