[2.0] Fixed missing method in ConvertMappingTask. Changed to a custom message one.
This commit is contained in:
parent
af63f2cb6d
commit
eeec2e436c
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue