diff --git a/lib/api/source/deploy.php b/lib/api/source/deploy.php index 383c925..02b9904 100755 --- a/lib/api/source/deploy.php +++ b/lib/api/source/deploy.php @@ -73,7 +73,7 @@ =========================================================*/ /* (0) We are done if @sync */ if( $sync ){ - slog('Post-sync deployment -> no history truncate', "$FEATURE:deploy", 'update'); + slog('Post-sync deployment -> no history truncate', "api:deploy", 'update'); return 0; } @@ -83,8 +83,8 @@ /* (2) Check history count */ if( !is_numeric($count) ){ - slog("No \'history\' found for '$feat_name' in response file", "$FEATURE:deploy", 'update'); - return 127; + slog("No \'history\' found for '$feat_name' in response file", 'api:deploy', 'update'); + continue; } /* (3) Fetch number of entries */ @@ -96,12 +96,12 @@ /* (5) Manage error */ if( $truncated === false ){ - slog('History cannot be truncated', "$FEATURE:deploy", 'update'); - return 127; + slog('History cannot be truncated', "$feat_name:deploy", 'update'); + continue; } - slog("History '$feat_name' succesfully truncated", "$FEATURE:deploy", 'update'); + slog("History succesfully truncated", "$feat_name:deploy", 'update'); }