summaryrefslogtreecommitdiff
path: root/app/services/clusters/applications/install_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/applications/install_service.rb')
-rw-r--r--app/services/clusters/applications/install_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/applications/install_service.rb b/app/services/clusters/applications/install_service.rb
index 8ceeec687cd..4c25a09814b 100644
--- a/app/services/clusters/applications/install_service.rb
+++ b/app/services/clusters/applications/install_service.rb
@@ -10,7 +10,7 @@ module Clusters
ClusterWaitForAppInstallationWorker.perform_in(
ClusterWaitForAppInstallationWorker::INTERVAL, app.name, app.id)
- rescue KubeException => ke
+ rescue Kubeclient::HttpError => ke
app.make_errored!("Kubernetes error: #{ke.message}")
rescue StandardError
app.make_errored!("Can't start installation process")