Skip to content

Commit

Permalink
fix: component load error
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Gummersall committed Mar 27, 2021
1 parent 7413699 commit 0469d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/botbuilder-runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ async function addSettingsBotComponents(services: ServiceCollection, configurati
for (const { name, settingsPrefix } of components) {
const botComponent = await loadBotComponent(name);
if (!botComponent) {
throw new TypeError(`Unable to load ${botComponent} component`);
throw new TypeError(`Unable to load ${name} component`);
}

botComponent.configureServices(services, configuration.bind([settingsPrefix ?? name]));
Expand Down

0 comments on commit 0469d4c

Please sign in to comment.