Skip to content

Commit

Permalink
Merge branch 'deploy-error-key' into 'main'
Browse files Browse the repository at this point in the history
Corrected translation key for message

See merge request weblogic-cloud/weblogic-deploy-tooling!1498
  • Loading branch information
robertpatrick committed Aug 18, 2023
2 parents 9561fec + d24c255 commit 72da570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/python/wlsdeploy/tool/deploy/model_deployer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright (c) 2017, 2022, Oracle Corporation and/or its affiliates. All rights reserved.
Copyright (c) 2017, 2023, Oracle Corporation and/or its affiliates. All rights reserved.
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
"""
from oracle.weblogic.deploy.util import PyWLSTException
Expand Down Expand Up @@ -32,7 +32,7 @@ def deploy_resources(model, model_context, aliases, wlst_mode=WlstModes.OFFLINE)
resources_deployer = ResourcesDeployer(model, model_context, aliases, wlst_mode=wlst_mode)
resources_deployer.deploy(location)
except PyWLSTException, pwe:
ex = exception_helper.create_deploy_exception('WLSDPLY-09111', pwe.getLocalizedMessage(), error=pwe)
ex = exception_helper.create_deploy_exception('WLSDPLY-09650', pwe.getLocalizedMessage(), error=pwe)
_logger.throwing(ex, class_name=_class_name, method_name=_method_name)
raise ex

Expand Down

0 comments on commit 72da570

Please sign in to comment.