From a35e09e293edc11705fc4e9e95ac270f5b62649a Mon Sep 17 00:00:00 2001 From: Marcel Hauri Date: Tue, 10 Apr 2018 11:36:21 +0200 Subject: [PATCH] Issue #68 - remove Zend_Exception --- .../lib/Magento/Mtf/Util/Generate/Fixture/FieldsProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture/FieldsProvider.php b/dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture/FieldsProvider.php index 533ea85a47b88..242527f2c4d13 100644 --- a/dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture/FieldsProvider.php +++ b/dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture/FieldsProvider.php @@ -182,14 +182,14 @@ protected function compositeCollectFields(array $fixture) * Retrieve connection to resource specified by $resourceName. * * @param string $resourceName - * @return \Exception|false|\Magento\Framework\DB\Adapter\AdapterInterface|\Zend_Exception + * @return \Exception|false|\Magento\Framework\DB\Adapter\AdapterInterface */ protected function getConnection($resourceName) { try { $connection = $this->resource->getConnection($resourceName); return $connection; - } catch (\Zend_Exception $e) { + } catch (\Exception $e) { echo $e->getMessage() . PHP_EOL; return $e; }