Skip to content

Commit

Permalink
Merge pull request #682 from Roasbeef/sync-fail-fix-log
Browse files Browse the repository at this point in the history
universe: fix log entry when sync fails
  • Loading branch information
Roasbeef authored Nov 20, 2023
2 parents b8a007d + 759d906 commit c0c3ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion universe/auto_syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ func (f *FederationEnvoy) SyncServers(serverAddrs []ServerAddr) error {
err := f.syncServerState(ctx, serverAddr, *syncConfigs)
if err != nil {
log.Warnf("encountered an error whilst syncing with "+
"server=%v: %w", spew.Sdump(serverAddr), err)
"server=%v: %v", spew.Sdump(serverAddr), err)
}
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion universe/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type RootNodesQuery struct {
func (a *Archive) RootNodes(ctx context.Context,
q RootNodesQuery) ([]Root, error) {

log.Debugf("Fetching all known Universe roots (with_amounts_by_id=%v"+
log.Tracef("Fetching all known Universe roots (with_amounts_by_id=%v"+
", sort_direction=%v, offset=%v, limit=%v)", q.WithAmountsById,
q.SortDirection, q.Offset, q.Limit)

Expand Down

0 comments on commit c0c3ab7

Please sign in to comment.