Skip to content

Commit 11be5b5

Browse files
committed
Update: moesif-aws-lambda
1 parent 1257ab3 commit 11be5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function getURLWithQueryStringParams(event) {
397397
}
398398

399399
function ensureValidOptions(options) {
400-
if (!options) throw new Error('options are required by moesif-express middleware');
400+
if (!options) throw new Error('options are required by moesif-aws-lambda middleware');
401401
if (!options.applicationId) throw new Error('A Moesif application id is required. Please obtain it through your settings at www.moesif.com');
402402
if (options.identifyUser && !_.isFunction(options.identifyUser)) {
403403
throw new Error('identifyUser should be a function');

0 commit comments

Comments
 (0)