
david at kineticode
Mar 5, 2009, 10:31 AM
Post #2 of 7
(1357 views)
Permalink
|
On Mar 5, 2009, at 10:20 AM, Fletcher, Michael wrote: > Hello, > > Some of our publish code is using $burner->throw_error to report > errors > that should not be fatal, and yet that method appears to only have > fatal > results. In other words, it throws the error in the jobs queue, and > then dies. > > Are there alternatives to throw a non-fatal error to the job queue, or > elsewhere, and have the job continue processing. I've searched the > API > and cannot find anything. Only call throw_error in publish mode. my $img = $element->get_related_media; $burner->throw_error('You forgot an image!') if !$img && $burner->get_mode == PUBLISH_MODE; Best, David
|