Commit 0009c8d5 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

500 error fixed

parent 5b17a7d7
package cz.muni.ics.edirex.cbioondemandK8S.service;
import com.google.gson.JsonSyntaxException;
import cz.muni.ics.edirex.cbioondemandK8S.Utils;
import cz.muni.ics.edirex.cbioondemandK8S.model.IdentifierCRD;
import io.kubernetes.client.ApiClient;
......@@ -96,8 +97,9 @@ public class KubernetesAPI implements KubernetesCalls{
} catch (ApiException e) {
logger.warn("Deleting of job failed");
logger.info("Api throw exception while deleting job" + "\n " + e.getResponseBody() , e);
} catch (Exception e){
} catch (JsonSyntaxException e){
logger.info("kubernetes client dependency error ");
return true;
}
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment