Commit eeec2e43 authored by guilhermeblanco's avatar guilhermeblanco

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

parent af63f2cb
...@@ -137,7 +137,9 @@ class ConvertMappingTask extends AbstractTask ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment