Skip to content

Commit

Permalink
Added console error for missing interceptors to help debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ebkr committed Dec 25, 2024
1 parent 968ba66 commit c899857
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,15 @@ export default class PlatformInterceptorImpl extends PlatformInterceptorProvider
if (RUNNERS[platform][loader][process.platform] !== undefined) {
return RUNNERS[platform][loader][process.platform];
}
console.error(`No runner for platform [${platform}] and loader [${loader}]`);
return undefined;
}

public getDirectoryResolverForPlatform(platform: StorePlatform): GameDirectoryResolverProvider | undefined {
if (RESOLVERS[platform][process.platform] !== undefined) {
return RESOLVERS[platform][process.platform];
}
console.error(`No resolver for platform [${platform}]`);
return undefined;
}

Expand Down

0 comments on commit c899857

Please sign in to comment.