Skip to content
Snippets Groups Projects
Commit 98048ded authored by xiaohua guan's avatar xiaohua guan Committed by Yas Naoi
Browse files

Issue #3077828 by Xiaohua Guan: Fix an Internal Server Error when saving a...

Issue #3077828 by Xiaohua Guan: Fix an Internal Server Error when saving a Cloud Service Provider for k8s if the API endpoint cannot be connected
parent 0cf70f08
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ class K8sClient extends Client {
));
}
catch (\Exception $e) {
$this->messenger->addError($e->getMessage());
throw new K8sServiceException($e->getMessage());
}
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment