Skip to content

Commit

Permalink
Re-enable debugging of unknown records
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 9, 2024
1 parent 229a174 commit 4f99f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -6706,7 +6706,7 @@ sub print_person
($type ne 'Register UK 1939')) {

complain({ person => $person, warning => "Unhandled event type: $type" });
# die 'TODO: ', $person->as_string({ nee => 1, include_years => 1, middle_names => 1 }), " event type $type";
die 'TODO: ', $person->as_string({ nee => 1, include_years => 1, middle_names => 1 }), " event type $type";
if(my $notes = notes(record => $event, note_locations => \@note_locations)) {
$notes = ucfirst($notes);
$bio .= " ($notes)";
Expand Down Expand Up @@ -7213,7 +7213,7 @@ sub print_person
($type ne 'Race') &&
($type ne 'Hospitalisation')) {
complain({ person => $person, warning => "Unhandled event type: $type" });
# die 'TODO: ', $person->as_string({ nee => 1, include_years => 1, middle_names => 1 }), " event type $type";
die 'TODO: ', $person->as_string({ nee => 1, include_years => 1, middle_names => 1 }), " event type $type";
if(my $notes = notes(record => $event, note_locations => \@note_locations)) {
$notes =~ s/[\s\.]+$//;
my $date = year(record => $event);
Expand Down

0 comments on commit 4f99f6f

Please sign in to comment.