Skip to content

Commit

Permalink
add debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
noahlitvin committed Nov 12, 2023
1 parent bf6a6a4 commit 0fa4cff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/builder/src/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ export class FallbackRegistry extends EventEmitter implements CannonRegistry {
}

async getUrl(packageRef: string, variant: string): Promise<string | null> {
debug('resolving', packageRef, variant);
for (const registry of [this.memoryCacheRegistry, ...this.registries]) {
debug('trying registry', registry.getLabel());
try {
const result = await registry.getUrl(packageRef, variant);

Expand Down

0 comments on commit 0fa4cff

Please sign in to comment.