Skip to content

Log the entire error chain when sled-agent cannot communicate with nexus #9804

@emunn13

Description

@emunn13

When sled-agent fails to communicate with Nexus, it doesn't log the underlying error.

Example:

01:13:21.478Z WARN SledAgent: Received Error from Nexus for Get request: Communication Error: error sending request for url (http://_nexus._tcp.control-plane.oxide.internal:12221/sled-agents/<SLED_ID>)
    file = sled-agent/src/nexus.rs:530
    sled_id = <SLED_ID>

This issue is to ask for logging the whole error chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions