aboutsummaryrefslogtreecommitdiff
path: root/bin/feature-check.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/feature-check.pl')
-rwxr-xr-xbin/feature-check.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/feature-check.pl b/bin/feature-check.pl
index ea84812..4990c0c 100755
--- a/bin/feature-check.pl
+++ b/bin/feature-check.pl
@@ -139,6 +139,7 @@ my $threshold = USABLE;
$log->info("acceptance threshold: $MATURITY[$threshold]");
my $graph = Graph::Easy::Parser->from_text('graph { flow: east; }');
+$graph->catch_messages(1);
my $root = 'features';
my $featureref = path("$BASEDIR")->visit( \&feature );
@@ -184,6 +185,9 @@ say $_ for $table->render;
print $graph->as_boxart();
+$log->error($_) for $graph->errors();
+$log->warn($_) for $graph->warnings();
+
sub feature {
my ($path, $state) = @_;
my ( $feature, $docs, $maturity );