Skip to content

Commit

Permalink
Updated logging of error.
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor committed Oct 31, 2024
1 parent ffdd820 commit ca9cbb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbit/cmd/orbit/orbit.go
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ func main() {
go func() {
for {
msg := <-desktopRunner.errorNotifyCh
log.Error().Msgf("fleet-desktop runner error: %s", msg)
log.Error().Err(errors.New(msg)).Msg("fleet-desktop runner error")
// Vital errors are always sent to Fleet, regardless of the error reporting setting FLEET_ENABLE_POST_CLIENT_DEBUG_ERRORS.
fleetdErr := fleet.FleetdError{
Vital: true,
Expand Down

0 comments on commit ca9cbb3

Please sign in to comment.