69 { |
69 { |
70 $severity = $RaptorCommon::SEVERITY_CRITICAL; |
70 $severity = $RaptorCommon::SEVERITY_CRITICAL; |
71 my $subcategory = $RaptorCommon::CATEGORY_RAPTORERROR_MAKEEXITEDWITHERRORS; |
71 my $subcategory = $RaptorCommon::CATEGORY_RAPTORERROR_MAKEEXITEDWITHERRORS; |
72 RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line); |
72 RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line); |
73 } |
73 } |
|
74 elsif ($text =~ m,tool .* from config .* did not return version .* as required,) |
|
75 { |
|
76 $severity = $RaptorCommon::SEVERITY_CRITICAL; |
|
77 my $subcategory = $RaptorCommon::CATEGORY_RAPTORERROR_TOOLDIDNOTRETURNVERSION; |
|
78 RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line); |
|
79 } |
74 else # log everything by default |
80 else # log everything by default |
75 { |
81 { |
76 $severity = $RaptorCommon::SEVERITY_NORMAL; |
82 $severity = $RaptorCommon::SEVERITY_NORMAL; |
77 my $subcategory = ''; |
83 my $subcategory = ''; |
78 RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line); |
84 RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line); |