Skip to content

Commit d0c3aaa

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

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/codecov.yml

+2-2
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
1515
env:
16-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
16+
CODECOV_TOKEN: eVBGf4EmXr
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)