Skip to content

Instantly share code, notes, and snippets.

@pepoviola
Created March 5, 2020 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pepoviola/aaba2d7af4d1b443b37e109f2702e358 to your computer and use it in GitHub Desktop.
Save pepoviola/aaba2d7af4d1b443b37e109f2702e358 to your computer and use it in GitHub Desktop.
exports.handler = async (event) => {
console.log( 'process.traceDeprecation', process.traceDeprecation );
Buffer(1);
process.on('warning', (warning) => {
console.log( 'stack of deprecation' );
console.log(warning.stack);
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment