Skip to content

Commit cea10fe

Browse files
committed
fix: store connection and not crawl errors
1 parent 242311a commit cea10fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/nebula/cmd_crawl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ func persistCrawlProperties[I core.PeerInfo[I]](ctx context.Context, dbc db.Clie
503503
pps := map[string]map[string]int{
504504
"agent_version": avFull,
505505
"protocol": handler.Protocols,
506-
"error": handler.CrawlErrs,
506+
"error": handler.ConnErrs,
507507
}
508508

509509
return dbc.PersistCrawlProperties(ctx, dbCrawl, pps)

0 commit comments

Comments
 (0)