Skip to content

Commit

Permalink
Improve error handling and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Avishka-Shamendra committed Apr 17, 2024
1 parent 74b2187 commit 9c26fe5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ private void addApi(OMElement apiElement, String fileName, boolean updateMode) t
String errMsg = "Error trying to add the API to the ESB "
+ "configuration : " + api.getName();
api.destroy();
try{
try {
getSynapseConfiguration().removeAPI(api.getName());
if (getAxisConfig().getService(api.getName()) != null) {
getAxisConfig().removeService(api.getName());
Expand Down

0 comments on commit 9c26fe5

Please sign in to comment.