diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 30bdef8e..e92d0326 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -11,7 +11,7 @@ jobs: - name: Install dependencies, run tests, and collect coverage run: docker compose -f docker/buildkite/docker-compose.yaml run unit-test-test-service - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} slug: cadence-workflow/cadence-java-client diff --git a/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java b/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java index 067c3e0b..f275b614 100644 --- a/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java +++ b/src/main/java/com/uber/cadence/internal/common/WorkflowExecutionUtils.java @@ -773,6 +773,7 @@ private static String prettyPrintJson(String jsonValue, String stackIndentation) Gson gson = new GsonBuilder().setPrettyPrinting().create(); return gson.toJson(json); } catch (Exception e) { + System.err.println("Error parsing JSON: " + jsonValue); return jsonValue; } }