Skip to content

Commit 51ce920

Browse files
committed
MAGETWO-34541: Prepare PR
- fix L3 tests
1 parent 15b27f5 commit 51ce920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Integration/Service/V1/AdminTokenService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function createAdminAccessToken($username, $password)
8484
}
8585
} catch (\Magento\Framework\Exception\AuthenticationException $e) {
8686
throw new AuthenticationException($e->getMessage(), [], $e);
87-
} catch (\Magento\Framework\Model\Exception $e) {
87+
} catch (\Magento\Framework\Exception\LocalizedException $e) {
8888
throw new LocalizedException($e->getMessage(), [], $e);
8989
}
9090
return $this->tokenModelFactory->create()->createAdminToken($this->userModel->getId())->getToken();

0 commit comments

Comments
 (0)