diff --git a/CHANGELOG.md b/CHANGELOG.md index 033969a8..41a452b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [2.0.1 - 2024-01-25] + +### Fixed + +- MalformedUriException: Unable to parse URI exception - when the daemon has invalid URL. #216 + ## [2.0.0 - 2024-01-25] AppAPI 2.0. diff --git a/appinfo/info.xml b/appinfo/info.xml index 19563f69..0c9db545 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -42,7 +42,7 @@ to join us in shaping a more versatile, stable, and secure app landscape. *Your insights, suggestions, and contributions are invaluable to us.* ]]> - 2.0.0 + 2.0.1 agpl Andrey Borysenko Alexander Piskun diff --git a/lib/DeployActions/DockerActions.php b/lib/DeployActions/DockerActions.php index 634c948f..b9136287 100644 --- a/lib/DeployActions/DockerActions.php +++ b/lib/DeployActions/DockerActions.php @@ -4,6 +4,7 @@ namespace OCA\AppAPI\DeployActions; +use Exception; use GuzzleHttp\Client; use GuzzleHttp\Exception\GuzzleException; @@ -283,7 +284,7 @@ public function ping(string $dockerUrl): bool { if ($response->getStatusCode() === 200) { return true; } - } catch (GuzzleException $e) { + } catch (Exception $e) { $this->logger->error('Could not connect to Docker daemon', ['exception' => $e]); error_log($e->getMessage()); }