[2.0] Fixed missing method in ConvertMappingTask. Changed to a custom message one.
This commit is contained in:
parent
af63f2cb6d
commit
eeec2e436c
@ -137,7 +137,9 @@ class ConvertMappingTask extends AbstractTask
|
|||||||
$type = $this->_determineSourceType($sourceArg);
|
$type = $this->_determineSourceType($sourceArg);
|
||||||
|
|
||||||
if ( ! $type) {
|
if ( ! $type) {
|
||||||
throw CliException::invalidMappingSourceType($sourceArg);
|
throw new CliException(
|
||||||
|
"Invalid mapping source type '$sourceArg'."
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$source = $this->_getSourceByType($type, $sourceArg);
|
$source = $this->_getSourceByType($type, $sourceArg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user