View | Details | Raw Unified | Return to bug 28616
Collapse All | Expand All

(-)a/Koha/Patrons/Import.pm (-3 / +2 lines)
Lines 349-355 sub import_patrons { Link Here
349
                } elsif ( $_->isa('Koha::Exceptions::Patron::Attribute::NonRepeatable') ) {
349
                } elsif ( $_->isa('Koha::Exceptions::Patron::Attribute::NonRepeatable') ) {
350
                    push @errors, { patron_attribute_non_repeatable => 1, borrowernumber => $borrowernumber, attribute => $_->attribute };
350
                    push @errors, { patron_attribute_non_repeatable => 1, borrowernumber => $borrowernumber, attribute => $_->attribute };
351
                } else {
351
                } else {
352
                    use Data::Printer colored => 1; warn p $_;
352
                    warn $_;
353
                    push @errors, { unknown_error => 1 };
353
                    push @errors, { unknown_error => 1 };
354
                }
354
                }
355
355
Lines 417-423 sub import_patrons { Link Here
417
                    push @errors, { patron_attribute_non_repeatable => 1, patron_id => $patron_id, attribute => $_->attribute };
417
                    push @errors, { patron_attribute_non_repeatable => 1, patron_id => $patron_id, attribute => $_->attribute };
418
418
419
                } else {
419
                } else {
420
                    use Data::Printer colored => 1; warn p $_;
420
                    warn $_;
421
                    push @errors, { unknown_error => 1 };
421
                    push @errors, { unknown_error => 1 };
422
                }
422
                }
423
                push(
423
                push(
424
- 

Return to bug 28616