1
0
mirror of synced 2025-03-24 08:53:52 +03:00

[2.0] Fixed missing method in ConvertMappingTask. Changed to a custom message one.

This commit is contained in:
guilhermeblanco 2010-03-08 23:23:22 +00:00
parent af63f2cb6d
commit eeec2e436c

View File

@ -137,7 +137,9 @@ class ConvertMappingTask extends AbstractTask
$type = $this->_determineSourceType($sourceArg);
if ( ! $type) {
throw CliException::invalidMappingSourceType($sourceArg);
throw new CliException(
"Invalid mapping source type '$sourceArg'."
);
}
$source = $this->_getSourceByType($type, $sourceArg);