Skip to content

Commit

Permalink
Merge branch 'develop' into rc/5.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski committed Sep 11, 2024
2 parents b8790e6 + 29ea6c8 commit ed8da17
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.epam.reportportal.saucelabs.client.RestClientBuilder;
import com.epam.reportportal.saucelabs.model.SauceProperties;
import com.epam.ta.reportportal.entity.integration.Integration;
import com.saucelabs.saucerest.model.jobs.JobAssets;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
Expand Down Expand Up @@ -57,9 +56,7 @@ public Object executeCommand(Integration integration, Map<String, Object> params

private Object getWebDriverLogs(RestTemplate restTemplate, SauceProperties sp) {
try {
JobAssets jobAssets =
restTemplate.getForObject(getJobAssetsUrl(sp), JobAssets.class);
String url = getJobAssetsUrl(sp) + "/" + jobAssets.sauceLog;
String url = getJobAssetsUrl(sp) + "/log.json";
return restTemplate.getForObject(url, Object.class);

} catch (HttpClientErrorException httpException) {
Expand Down

0 comments on commit ed8da17

Please sign in to comment.