Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(agent): add handling for canceled database operations #104

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

Keloran
Copy link
Contributor

@Keloran Keloran commented Mar 5, 2025

Adds a check for the "operation was canceled" error when connecting to the
database in the GetAgentFlagsFromDB function. This ensures that the function
returns a nil error instead of propagating the canceled operation error, which
can occur during database connection failures.

Adds a check for the "operation was canceled" error when connecting to the
database in the GetAgentFlagsFromDB function. This ensures that the function
returns a nil error instead of propagating the canceled operation error, which
can occur during database connection failures.
Copy link

github-actions bot commented Mar 5, 2025

Qodana for Go

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@Keloran Keloran merged commit c8e8437 into main Mar 5, 2025
6 checks passed
@Keloran Keloran deleted the k-branch-4 branch March 5, 2025 11:21
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.

1 participant