File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
core/src/main/python/wlsdeploy/tool/create Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 8
8
from xml .dom .minidom import parse
9
9
from wlsdeploy .exception import exception_helper
10
10
11
+ from wlsdeploy .logging .platform_logger import PlatformLogger
12
+
13
+ _logger = PlatformLogger ('wlsdeploy.create' )
14
+
11
15
def set_ssl_properties (xmlDoc , atp_creds_path , keystore_password , truststore_password ):
12
16
'''
13
17
Add SSL config properties to the specified XML document.
@@ -81,13 +85,16 @@ def get_atp_connect_string(tnsnames_ora_path, tns_sid_name):
81
85
return connect_string , None
82
86
else :
83
87
ex = exception_helper .create_create_exception ("WLSDPLY-12563" , tns_sid_name )
84
- return None , ex
88
+ _logger .throwing (ex , class_name = 'atp_helper' , method_name = 'get_atp_connect_string' )
89
+ raise ex
85
90
except IOError , ioe :
86
91
ex = exception_helper .create_create_exception ("WLSDPLY-12570" , str (ioe ))
87
- return None , ex
92
+ _logger .throwing (ex , class_name = 'atp_helper' , method_name = 'get_atp_connect_string' )
93
+ raise ex
88
94
except Exception , ex :
89
95
ex = exception_helper .create_create_exception ("WLSDPLY-12570" , str (ex ))
90
- return None , ex
96
+ _logger .throwing (ex , class_name = 'atp_helper' , method_name = 'get_atp_connect_string' )
97
+ raise ex
91
98
92
99
def cleanup_connect_string (connect_string ):
93
100
"""
You can’t perform that action at this time.
0 commit comments