We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1257ab3 commit 11be5b5Copy full SHA for 11be5b5
lib/index.js
@@ -397,7 +397,7 @@ function getURLWithQueryStringParams(event) {
397
}
398
399
function ensureValidOptions(options) {
400
- if (!options) throw new Error('options are required by moesif-express middleware');
+ if (!options) throw new Error('options are required by moesif-aws-lambda middleware');
401
if (!options.applicationId) throw new Error('A Moesif application id is required. Please obtain it through your settings at www.moesif.com');
402
if (options.identifyUser && !_.isFunction(options.identifyUser)) {
403
throw new Error('identifyUser should be a function');
0 commit comments