[PR #18] [CLOSED] Error Handling for NewAgentConfig #109

Closed
opened 2026-03-14 01:38:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/rmmagent/pull/18
Author: @redanthrax
Created: 8/19/2022
Status: Closed

Base: developHead: ErrorHandling


📝 Commits (1)

  • 87c035c Error Handling for NewAgentConfig

📊 Changes

3 files changed (+10 additions, -7 deletions)

View changed files

📝 agent/agent.go (+4 -1)
📝 agent/agent_unix.go (+3 -3)
📝 agent/agent_windows.go (+3 -3)

📄 Description

If NewAgentConfig had an error an empty agent config would be returned and the agent would continue.
Added error handling for the instance an empty config was returned and logged the error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/rmmagent/pull/18 **Author:** [@redanthrax](https://github.com/redanthrax) **Created:** 8/19/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `ErrorHandling` --- ### 📝 Commits (1) - [`87c035c`](https://github.com/amidaware/rmmagent/commit/87c035cd3953f0eacb6ce21aaf776c8be23a1b9d) Error Handling for NewAgentConfig ### 📊 Changes **3 files changed** (+10 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `agent/agent.go` (+4 -1) 📝 `agent/agent_unix.go` (+3 -3) 📝 `agent/agent_windows.go` (+3 -3) </details> ### 📄 Description If NewAgentConfig had an error an empty agent config would be returned and the agent would continue. Added error handling for the instance an empty config was returned and logged the error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 01:38:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rmmagent#109
No description provided.