Changeset 1718
- Timestamp:
- 10/04/06 21:20:08
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/CustomFeed/Script.pm
r1717 r1718 38 38 $context->log(debug => "Executing '$script'"); 39 39 my $output = qx($script); 40 if ($?) { 41 $context->log(error => "Error happend while executing '$script': $?"); 42 return; 43 } 40 44 41 45 # TODO: check BOM? … … 51 55 }; 52 56 if ($@) { 53 $context->log(error => "Can't determine output format of $script"); 57 $context->log(error => "Failed to parse as YAML. Can't determine output format of $script"); 58 return; 54 59 } 55 60 } 61 62 return 1; 56 63 } 57 64
