Commit df0b181
committed
fix: simplify error handling in manager.ts and update tests to expect translation keys
- Remove complex fallback logic from manager.ts since errors should be translated at source
- Update tests to expect translation keys as returned by t() function in test environment
- This ensures consistent behavior between test and production environments1 parent 6c5b36d commit df0b181
2 files changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
| |||
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
| 335 | + | |
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 266 | + | |
| 267 | + | |
275 | 268 | | |
276 | 269 | | |
277 | 270 | | |
| |||
0 commit comments