Skip to content

Commit

Permalink
debug(context) #128
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Feb 4, 2024
1 parent ba4c009 commit 5e6c3f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ node_modules
.vagrant
crawl.js
.DS_Store

.env
3 changes: 2 additions & 1 deletion lambda/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
require("env2")(".env");
const debug = require("./lib/debug.js");
const debug = require("./debug.js");

exports.handler = function handler (event, context, callback) {
debug(event);
debug(context);
return callback(null, event);
}

0 comments on commit 5e6c3f1

Please sign in to comment.