Skip to content

Commit

Permalink
lxd-agent: Log start time mount args on error
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
  • Loading branch information
tomponline committed Jun 27, 2024
1 parent 70c0d45 commit 28bd6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd-agent/main_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func (c *cmdAgent) mountHostShares() {

_, err = shared.RunCommand("mount", args...)
if err != nil {
l.Error("Failed to mount", logger.Ctx{"err": err})
l.Error("Failed to mount", logger.Ctx{"err": err, "args": args})
continue
}

Expand Down

0 comments on commit 28bd6a9

Please sign in to comment.