Skip to content

Commit

Permalink
Set correct logger class name
Browse files Browse the repository at this point in the history
Properly throw the caused-by exception.
  • Loading branch information
kasunbg committed May 4, 2018
1 parent b126e1a commit b87aec2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
public class DeploymentUtil {

private static final Logger logger = LoggerFactory.getLogger(Deployment.class);
private static final Logger logger = LoggerFactory.getLogger(DeploymentUtil.class);

/**
* Reads the deployment.json file and constructs the deployment object.
Expand Down Expand Up @@ -75,7 +75,7 @@ public static DeploymentCreationResult getDeploymentCreationResult(String worksp
} catch (IOException e) {
logger.error(e.getMessage());
throw new TestGridDeployerException(StringUtil.concatStrings(
"Error occurred while reading ", file.getAbsolutePath(), e));
"Error occurred while reading ", file.getAbsolutePath()), e);
}
}
}

0 comments on commit b87aec2

Please sign in to comment.