JsonUtils: adds debugging to check on wrong reference

This commit is contained in:
Jed Reynolds
2018-10-08 17:05:24 -07:00
parent 2e733e0679
commit 841b366d26

View File

@@ -107,8 +107,9 @@ sub flatten_list {
my $list_name = shift; my $list_name = shift;
my $rh_irefs = {}; my $rh_irefs = {};
return if (!defined $rh_list); return if (!defined $rh_list);
if (!defined $rh_list->{$list_name}) { if (!defined $rh_list->{$list_name}) {
print Dumper($rh_list);
warn "flatten_list: $list_name not found"; warn "flatten_list: $list_name not found";
return; return;
} }