Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit f864c8b

Browse files
committed
MAGETWO-89567: Cannot set 'user' save handler by ini_set()
1 parent 6c9c9d9 commit f864c8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Session/SaveHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Magento\Framework\Session;
77

88
use Magento\Framework\Session\Config\ConfigInterface;
9+
use \Magento\Framework\Exception\SessionException;
910

1011
/**
1112
* Magento session save handler
@@ -41,7 +42,7 @@ public function __construct(
4142

4243
try {
4344
$this->saveHandlerAdapter = $saveHandlerFactory->create($saveMethod);
44-
} catch (\LogicException $e) {
45+
} catch (SessionException $e) {
4546
$this->saveHandlerAdapter = $saveHandlerFactory->create($default);
4647
}
4748
}

0 commit comments

Comments
 (0)