Skip to content

Commit 06702ea

Browse files
committed
Catches an additional error situation running phing.
1 parent efe7749 commit 06702ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Command/AbstractCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ protected function callPhing($taskName, $properties = array())
221221
// Guess errors
222222
if (strstr($this->buffer, 'failed. Aborting.') ||
223223
strstr($this->buffer, 'Failed to execute') ||
224+
strstr($this->buffer, 'Unknown behavior') ||
224225
strstr($this->buffer, 'failed for the following reason:')) {
225226
$returnStatus = false;
226227
}

0 commit comments

Comments
 (0)