Commit 3f96fc8
committed
fix(webapp): remove overly-broad catch on ClickHouse factory resolution
As pointed out in code review: the guard on line 126 already screens out all
non-ClickHouse store values, so the only values reaching getEventRepositoryForOrganizationSync
are 'clickhouse' and 'clickhouse_v2' — both valid. The broad catch was unnecessary
and harmful: a real ClickHouse resolution failure would have been silently routed
to Postgres, writing spans where they'd be invisible on the ClickHouse read path.1 parent 6b8058b commit 3f96fc8
1 file changed
Lines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
142 | 135 | | |
143 | 136 | | |
144 | 137 | | |
| |||
0 commit comments