mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 16:54:16 +01:00
add stack trace to logs
This commit is contained in:
parent
db5f735777
commit
790dcf443f
@ -7,10 +7,11 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/netbirdio/netbird/management/server/differs"
|
|
||||||
"github.com/r3labs/diff/v3"
|
"github.com/r3labs/diff/v3"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
|
"github.com/netbirdio/netbird/management/server/differs"
|
||||||
|
|
||||||
"github.com/netbirdio/netbird/management/proto"
|
"github.com/netbirdio/netbird/management/proto"
|
||||||
"github.com/netbirdio/netbird/management/server/telemetry"
|
"github.com/netbirdio/netbird/management/server/telemetry"
|
||||||
)
|
)
|
||||||
@ -208,6 +209,7 @@ func (p *PeersUpdateManager) handlePeerMessageUpdate(ctx context.Context, peerID
|
|||||||
p.channelsMux.RUnlock()
|
p.channelsMux.RUnlock()
|
||||||
|
|
||||||
if lastSentUpdate != nil {
|
if lastSentUpdate != nil {
|
||||||
|
log.Infof(string(debug.Stack()))
|
||||||
updated, err := isNewPeerUpdateMessage(ctx, lastSentUpdate, update)
|
updated, err := isNewPeerUpdateMessage(ctx, lastSentUpdate, update)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithContext(ctx).Errorf("error checking for SyncResponse updates: %v", err)
|
log.WithContext(ctx).Errorf("error checking for SyncResponse updates: %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user