We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47cbcd6 commit 8db3c26Copy full SHA for 8db3c26
1 file changed
libraries/cloudharness-common/cloudharness/infrastructure/k8s.py
@@ -76,6 +76,8 @@ def get_pod_logs(pod_name, namespace=namespace):
76
except kubernetes.client.rest.ApiException as e:
77
if e.status == 400:
78
return f"Pod {pod_name} has not emitted logs yet..."
79
+ elif 400 < e.status < 500:
80
+ return str(e)
81
raise Exception(e.status) from e
82
83
0 commit comments