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

(-)a/Koha/ERM/EUsage/UsageDataProvider.pm (-3 / +3 lines)
Lines 474-481 sub _sushi_errors { Link Here
474
        return 1;
474
        return 1;
475
    }
475
    }
476
476
477
    if ( $decoded_response->{Report_Header}->{Exceptions} ) {
477
    my $exceptions = $decoded_response->{Report_Header}->{Exceptions} // $decoded_response->{Exceptions};
478
        foreach my $exception ( @{ $decoded_response->{Report_Header}->{Exceptions} } ) {
478
    if ( $exceptions ) {
479
        foreach my $exception ( @{ $exceptions } ) {
479
            $self->{job_callbacks}->{add_message_callback}->(
480
            $self->{job_callbacks}->{add_message_callback}->(
480
                {
481
                {
481
                    type    => 'error',
482
                    type    => 'error',
482
- 

Return to bug 37856