Commit 916d4c0
Add debug logging to diagnose metadata service availability
Added comprehensive logging to understand why MetadataService might not be available or returning incomplete types in production:
- Log whether MetadataService is retrieved successfully
- Log whether getRegisteredTypes method exists
- Log the returned types from each fallback attempt
- Log warnings when falling back to protocol service or hardcoded defaults
This will help identify if:
1. MetadataService is not being registered properly
2. getRegisteredTypes method is missing
3. The method is throwing errors
4. We're hitting unexpected fallback paths
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/b2f61841-8fb0-4cd5-91c0-b85aef875a82
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent b4cf7dd commit 916d4c0
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| 350 | + | |
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
352 | | - | |
| 354 | + | |
353 | 355 | | |
| 356 | + | |
| 357 | + | |
354 | 358 | | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
358 | 362 | | |
| 363 | + | |
359 | 364 | | |
360 | 365 | | |
361 | 366 | | |
362 | 367 | | |
363 | 368 | | |
364 | 369 | | |
| 370 | + | |
365 | 371 | | |
366 | | - | |
| 372 | + | |
| 373 | + | |
367 | 374 | | |
368 | 375 | | |
369 | 376 | | |
370 | 377 | | |
| 378 | + | |
371 | 379 | | |
372 | 380 | | |
373 | 381 | | |
| |||
0 commit comments