Skip to content

Commit 6634d68

Browse files
committed
Fixed null reference exception in library
1 parent 845aa1e commit 6634d68

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Node/core/lib/bots/Library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ var Library = (function (_super) {
132132
});
133133
}
134134
else {
135-
ctx.logger.warn(ctx.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
135+
context.logger.warn(context.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
136136
callback(null, results);
137137
}
138138
}

Node/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "botbuilder",
33
"author": "Microsoft Corp.",
44
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
5-
"version": "3.10.0",
5+
"version": "3.10.1",
66
"license": "MIT",
77
"keywords": [
88
"botbuilder",

Node/core/src/bots/Library.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export class Library extends EventEmitter {
224224
}
225225
});
226226
} else {
227-
ctx.logger.warn(ctx.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
227+
context.logger.warn(context.dialogStack(), "Active dialog '" + entry.id + "' not found in library.");
228228
callback(null, results);
229229
}
230230
} else {

0 commit comments

Comments
 (0)