Created
March 5, 2020 19:02
-
-
Save pepoviola/aaba2d7af4d1b443b37e109f2702e358 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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