Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Tkachenko <121111529+nikita-tkachenko-datadog@users.noreply.github.com>
  • Loading branch information
juan-fernandez and nikita-tkachenko-datadog authored Oct 28, 2024
1 parent 967f7fd commit c9552cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function getCanForwardDebuggerLogs (err, agentInfo) {
if (err) {
return false
}
return agentInfo.endpoints.some(endpoint => endpoint === AGENT_DEBUGGER_INPUT)
return !err && agentInfo.endpoints.some(endpoint => endpoint === AGENT_DEBUGGER_INPUT)
}

class AgentProxyCiVisibilityExporter extends CiVisibilityExporter {
Expand Down

0 comments on commit c9552cd

Please sign in to comment.