(fix): add debug logging for collection mapping failures

Temporary debug logging to diagnose why collection ID mapping fails
in dedicated mode CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jake Barnby
2026-04-01 15:05:03 +13:00
co-authored by Claude Opus 4.6
parent 7dca267727
commit f4cb632dbc
@@ -125,8 +125,8 @@ class Metadata implements Decorator
$this->collectionIdMap['collection_' . $seq] = $col->getId();
}
}
} catch (\Throwable) {
// Silently fail — fall back to internal names
} catch (\Throwable $e) {
\Utopia\CLI\Console::warning('[Metadata] Failed to load collection map for ' . $databaseKey . ': ' . $e->getMessage());
}
}