Revision 44ed4e99
Von Moritz Bunkus vor mehr als 5 Jahren hinzugefügt
SL/BackgroundJob/CreatePeriodicInvoices.pm | ||
---|---|---|
358 | 358 |
$form->parse_template(\%::myconfig); |
359 | 359 |
1; |
360 | 360 |
} or do { |
361 |
push @{ $self->{job_errors} }, $EVAL_ERROR->getMessage;
|
|
361 |
push @{ $self->{job_errors} }, $EVAL_ERROR->error;
|
|
362 | 362 |
}; |
363 | 363 |
}); |
364 | 364 |
} |
SL/Controller/Inventory.pm | ||
---|---|---|
416 | 416 |
comment => $::form->{comment}, |
417 | 417 |
}); |
418 | 418 |
1; |
419 |
} or do { $transfer_error = $EVAL_ERROR->getMessage; }
|
|
419 |
} or do { $transfer_error = $EVAL_ERROR->error; }
|
|
420 | 420 |
}); |
421 | 421 |
|
422 | 422 |
if (!$transfer_error) { |
... | ... | |
567 | 567 |
stocktaking_cutoff_date => $::form->{cutoff_date_as_date}, |
568 | 568 |
}); |
569 | 569 |
1; |
570 |
} or do { $transfer_error = $EVAL_ERROR->getMessage; }
|
|
570 |
} or do { $transfer_error = $EVAL_ERROR->error; }
|
|
571 | 571 |
}); |
572 | 572 |
|
573 | 573 |
return $self->js->flash('error', $transfer_error)->render() |
Auch abrufbar als: Unified diff
Module: weitere Anpassungen für Exception::Lite → Exception::Class