Structured HTTP error logging; bump @fjell/core to ^4.4.70
This release focuses on replacing console debugging with structured logger calls in the HTTP error path and updating the core dependency.
Logging and Error Handling
- Replace console.log debugging with structured logger calls in src/api/http.ts (commit 24b169f)
- Swap console.log statements for logger.debug/info levels during error body parsing and detection (e.g., "Parsed error body", "Found wrapped/direct ErrorInfo") using %j formatting
- Log structured error throw with logger.error, including serialized details object
- Use logger.warning when falling back to legacy handling for non-structured responses
- Use logger.debug when rethrowing FjellHttpError in the catch path
- Replace parse failure console.log with logger.error and %j serialization
Dependencies
- Bump @fjell/core to ^4.4.70 (commit 59f68e8)
Versioning
- Set package version to 4.4.60 (commit 6fe1800)