Skip to content

Reduce error severity for data retrieval logs#1842

Merged
paustint merged 1 commit into
mainfrom
chore/reduce-error-severity-reduced-access
Jul 1, 2026
Merged

Reduce error severity for data retrieval logs#1842
paustint merged 1 commit into
mainfrom
chore/reduce-error-severity-reduced-access

Conversation

@paustint

@paustint paustint commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Adjust error handling for child relationship and field definition data retrieval to use warnings instead of errors, improving log clarity.

Copilot AI review requested due to automatic review settings July 1, 2026 14:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces the severity of telemetry events for two non-fatal SObject export data-retrieval failures (child relationship lookup and extended field definition queries) by logging them as warnings instead of errors, to keep error tracking focused on truly actionable failures.

Changes:

  • Downgrade tracker.error(...) to tracker.warn(...) for failures in getChildRelationshipNames.
  • Downgrade tracker.error(...) to tracker.warn(...) for failures in getExtendedFieldDefinitionData.

@paustint paustint merged commit ff32a12 into main Jul 1, 2026
9 checks passed
@paustint paustint deleted the chore/reduce-error-severity-reduced-access branch July 1, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants