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 88from xml .dom .minidom import parse
99from wlsdeploy .exception import exception_helper
1010
11+ from wlsdeploy .logging .platform_logger import PlatformLogger
12+
13+ _logger = PlatformLogger ('wlsdeploy.create' )
14+
1115def set_ssl_properties (xmlDoc , atp_creds_path , keystore_password , truststore_password ):
1216 '''
1317 Add SSL config properties to the specified XML document.
@@ -81,13 +85,16 @@ def get_atp_connect_string(tnsnames_ora_path, tns_sid_name):
8185 return connect_string , None
8286 else :
8387 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
8590 except IOError , ioe :
8691 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
8894 except Exception , ex :
8995 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
9198
9299def cleanup_connect_string (connect_string ):
93100 """
You can’t perform that action at this time.
0 commit comments