Skip to content

Commit 8fd6342

Browse files
committed
Testing codecov integration
This commit introduces non-covered code. Should clearly trigger codecov message.
1 parent f6343ca commit 8fd6342

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Install dependencies, run tests, and collect coverage
1212
run: docker compose -f docker/buildkite/docker-compose.yaml run unit-test-test-service
1313
- name: Upload coverage to Codecov
14-
uses: codecov/codecov-action@v4
14+
uses: codecov/codecov-action@v5.6
1515
env:
1616
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1717
slug: cadence-workflow/cadence-java-client

src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java

+1
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ private static String prettyPrintJson(String jsonValue, String stackIndentation)
773773
Gson gson = new GsonBuilder().setPrettyPrinting().create();
774774
return gson.toJson(json);
775775
} catch (Exception e) {
776+
System.err.println("Error parsing JSON: " + jsonValue);
776777
return jsonValue;
777778
}
778779
}

0 commit comments

Comments
 (0)