Skip to content

Commit

Permalink
Update engine/access/rest/websockets/controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
  • Loading branch information
Guitarheroua and peterargue authored Dec 17, 2024
1 parent bf38c3a commit 7ea5ec3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/access/rest/websockets/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ func (c *Controller) shutdownConnection() {

_ = c.dataProviders.ForEach(func(id uuid.UUID, dp dp.DataProvider) error {
err := dp.Close()
c.logger.Error().Err(err).Msgf("error closing data provider: %s", id.String())
c.logger.Error().Err(err).
Str("data_provider", id.String()).
Msg("error closing data provider")
return nil
})

Expand Down

0 comments on commit 7ea5ec3

Please sign in to comment.