diff options
Diffstat (limited to 'lib/internal/process/promises.js')
-rw-r--r-- | lib/internal/process/promises.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/process/promises.js b/lib/internal/process/promises.js index 83dee491a5..0e382d11d5 100644 --- a/lib/internal/process/promises.js +++ b/lib/internal/process/promises.js @@ -70,7 +70,7 @@ function setupPromises(scheduleMicrotasks) { 'Unhandled promise rejections are deprecated. In the future, ' + 'promise rejections that are not handled will terminate the ' + 'Node.js process with a non-zero exit code.', - 'DeprecationWarning'); + 'DeprecationWarning', 'DEP0018'); } } var deprecationWarned = false; |