Skip to content

Fix a bug with sending metrics#307

Merged
michael-richey merged 1 commit intomainfrom
michael.richey/bug-fix-301
Dec 12, 2024
Merged

Fix a bug with sending metrics#307
michael-richey merged 1 commit intomainfrom
michael.richey/bug-fix-301

Conversation

@michael-richey
Copy link
Copy Markdown
Collaborator

@michael-richey michael-richey commented Dec 12, 2024

What does this PR do?

Add try/except block around sending optional metrics.

Description of the Change

During an import there's no need to define a destination; however, a destination can be defined. The old code would error out when sending metrics to the optional destination. It should not error out, it should give a best effort and log. Same for sync and delete and having an optional source.

Motivation

#301

@michael-richey michael-richey marked this pull request as ready for review December 12, 2024 19:11
@michael-richey michael-richey requested a review from a team as a code owner December 12, 2024 19:11
@michael-richey michael-richey merged commit 139fb06 into main Dec 12, 2024
@michael-richey michael-richey deleted the michael.richey/bug-fix-301 branch December 12, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants