Skip to content
Snippets Groups Projects
Commit 0e9ba463 authored by Sören Henning's avatar Sören Henning Committed by Benedikt Wetzel
Browse files

clean up

parent 2d1be8b6
No related branches found
No related tags found
1 merge request!201Introduce action commands
Pipeline #5804 failed
...@@ -141,7 +141,7 @@ class ActionCommand(val client: NamespacedKubernetesClient) { ...@@ -141,7 +141,7 @@ class ActionCommand(val client: NamespacedKubernetesClient) {
override fun onFailure(throwable: Throwable, response: Response) { override fun onFailure(throwable: Throwable, response: Response) {
execLatch.countDown() execLatch.countDown()
throw ActionCommandFailedException("Some error encountered while executing action: ${throwable.printStackTrace()}") throw ActionCommandFailedException("Some error encountered while executing action.", throwable)
} }
override fun onClose(code: Int, reason: String) { override fun onClose(code: Int, reason: String) {
......
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