Description
__parse_body catches all exceptions and returns {}. This hides malformed/invalid response payloads and converts hard failures into silent bad state, which can propagate incorrect behavior (e.g., missing required fields interpreted as absent data rather than parse failure).
Severity: high
File: src/kaggle/cli.py
Expected Behavior
The code should handle this case properly to avoid unexpected errors or degraded quality.
Description
__parse_bodycatches all exceptions and returns{}. This hides malformed/invalid response payloads and converts hard failures into silent bad state, which can propagate incorrect behavior (e.g., missing required fields interpreted as absent data rather than parse failure).Severity:
highFile:
src/kaggle/cli.pyExpected Behavior
The code should handle this case properly to avoid unexpected errors or degraded quality.