From 9a515b6e0c97eab10ff7bc211c018840a9ed663e Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Sun, 23 Aug 2026 04:52:42 +0000 Subject: [PATCH] fix: propagate fail_on_error in upload-coverage command --- codecov_cli/commands/upload_coverage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codecov_cli/commands/upload_coverage.py b/codecov_cli/commands/upload_coverage.py index 4e0defffb..79f59267e 100644 --- a/codecov_cli/commands/upload_coverage.py +++ b/codecov_cli/commands/upload_coverage.py @@ -135,14 +135,14 @@ def upload_coverage( slug=slug, token=token, git_service=git_service, - fail_on_error=True, + fail_on_error=fail_on_error, ) if report_type == ReportType.COVERAGE: ctx.invoke( create_report, token=token, code=report_code, - fail_on_error=True, + fail_on_error=fail_on_error, commit_sha=commit_sha, slug=slug, git_service=git_service,