Module: weitere Anpassungen für Exception::Lite → Exception::Class
[kivitendo-erp.git] / SL / BackgroundJob / CreatePeriodicInvoices.pm
index 03cbdf5..5020313 100644 (file)
@@ -358,7 +358,7 @@ sub _print_invoice {
       $form->parse_template(\%::myconfig);
       1;
     } or do {
-      push @{ $self->{job_errors} }, $EVAL_ERROR->getMessage;
+      push @{ $self->{job_errors} }, $EVAL_ERROR->error;
     };
   });
 }