Skip to content

Commit 37ef179

Browse files
committed
feat(sharding)_: linter
1 parent 72d75aa commit 37ef179

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

protocol/messenger_store_node_request_manager.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,13 @@ func (m *StoreNodeRequestManager) FetchCommunity(ctx context.Context, community
104104
}
105105

106106
if !cfg.WaitForResponse {
107-
go fetch()
107+
go func() {
108+
defer gocommon.LogOnPanic()
109+
_, _, err := fetch()
110+
if err != nil {
111+
m.logger.Error("failed to fetch community", zap.Error(err))
112+
}
113+
}()
108114
return nil, StoreNodeRequestStats{}, nil
109115
}
110116
return fetch()

0 commit comments

Comments
 (0)