[command] Fixed error detection for insert-sql
This commit is contained in:
parent
2f4f2cb5f2
commit
85849bfe33
|
@ -119,6 +119,7 @@ abstract class PhingCommand extends ContainerAwareCommand
|
|||
|
||||
// Guess errors
|
||||
if (strstr($this->buffer, 'failed. Aborting.') ||
|
||||
strstr($this->buffer, 'Failed to execute') ||
|
||||
strstr($this->buffer, 'failed for the following reason:')) {
|
||||
$returnStatus = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue