loud-rejection
Advanced tools
Comparing version 1.2.1 to 1.3.0
'use strict'; | ||
var util = require('util'); | ||
var onExit = require('signal-exit'); | ||
@@ -9,6 +10,4 @@ var api = require('./api'); | ||
console.error(err.stack); | ||
} else if (typeof err === 'undefined') { | ||
console.error('Promise rejected no value'); | ||
} else { | ||
console.error('Promise rejected with value:', err); | ||
console.error('Promise rejected with value: ' + util.inspect(err)); | ||
} | ||
@@ -15,0 +14,0 @@ } |
{ | ||
"name": "loud-rejection", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "Make unhandled promise rejections fail loudly instead of the default silent fail", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5165
56