Skip to content
Snippets Groups Projects
Commit 791874b5 authored by OZGCloud's avatar OZGCloud
Browse files

unmask exceptions

parent ee09e7ec
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ public class ElasticsearchReconciler implements Reconciler<OzgCloudElasticsearch ...@@ -50,7 +50,7 @@ public class ElasticsearchReconciler implements Reconciler<OzgCloudElasticsearch
try { try {
return new String(Base64.getDecoder().decode(encodedPassword)); return new String(Base64.getDecoder().decode(encodedPassword));
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException("Could not decode password from secret."); throw new RuntimeException("Could not decode password from secret.", e);
} }
} }
......
...@@ -111,7 +111,7 @@ public class OzgCloudElasticsearchService { ...@@ -111,7 +111,7 @@ public class OzgCloudElasticsearchService {
createCredentialSecret(namespace, secretResource); createCredentialSecret(namespace, secretResource);
} }
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException("Certificate secret creation failed " + namespace); throw new RuntimeException("Certificate secret creation failed " + namespace, e);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment