Skip to content

Commit

Permalink
Merge pull request #2395 from mysteriumnetwork/fix-destroy-error-hand…
Browse files Browse the repository at this point in the history
…ling

Session destroy error now logged properly
  • Loading branch information
zolia committed Jun 19, 2020
2 parents 7513360 + 660a5cc commit 2e09aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/manager.go
Expand Up @@ -186,7 +186,7 @@ func (manager *Manager) Start(session *Session, consumerID identity.Identity, co
log.Error().Err(err).Msg("Payment engine error")
destroyErr := manager.Destroy(consumerID, string(session.ID))
if destroyErr != nil {
log.Error().Err(err).Msg("Session cleanup failed")
log.Error().Err(destroyErr).Msg("Session cleanup failed")
}
}
}()
Expand Down

0 comments on commit 2e09aa7

Please sign in to comment.