Skip to content

Commit 4b5a3fd

Browse files
MAGETWO-65308: CLI command config:set fails on configurations which requires session
1 parent aadeea4 commit 4b5a3fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/code/Magento/Config/Console/Command/ConfigSet/ProcessorFacade.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
use Magento\Config\Console\Command\ConfigSetCommand;
99
use Magento\Framework\App\Scope\ValidatorInterface;
1010
use Magento\Config\Model\Config\PathValidator;
11+
use Magento\Framework\Exception\ConfigurationMismatchException;
12+
use Magento\Framework\Exception\CouldNotSaveException;
1113
use Magento\Framework\Exception\LocalizedException;
14+
use Magento\Framework\Exception\ValidatorException;
1215

1316
/**
1417
* Processor facade for config:set command.
@@ -62,7 +65,10 @@ public function __construct(
6265
* @param string $scopeCode The scope code
6366
* @param boolean $lock The lock flag
6467
* @return string Processor response message
65-
* @throws LocalizedException If validation or processor failed
68+
* @throws LocalizedException If scope validation failed
69+
* @throws ValidatorException If path validation failed
70+
* @throws CouldNotSaveException If processing failed
71+
* @throws ConfigurationMismatchException If processor can not be instantiated
6672
*/
6773
public function process($path, $value, $scope, $scopeCode, $lock)
6874
{

0 commit comments

Comments
 (0)