Skip to content

Commit

Permalink
Fixed null reference exception in library
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenic committed Sep 21, 2017
1 parent 845aa1e commit 6634d68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Node/core/lib/bots/Library.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var Library = (function (_super) {
});
}
else {
ctx.logger.warn(ctx.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
context.logger.warn(context.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
callback(null, results);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Node/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "botbuilder",
"author": "Microsoft Corp.",
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
"version": "3.10.0",
"version": "3.10.1",
"license": "MIT",
"keywords": [
"botbuilder",
Expand Down
2 changes: 1 addition & 1 deletion Node/core/src/bots/Library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class Library extends EventEmitter {
}
});
} else {
ctx.logger.warn(ctx.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
context.logger.warn(context.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
callback(null, results);
}
} else {
Expand Down

0 comments on commit 6634d68

Please sign in to comment.