Comparing version 3.2.1 to 3.2.2
@@ -75,3 +75,18 @@ /** | ||
if (negotiationRule === undefined && lcType === 'tolerate') { | ||
throw flaverr({ | ||
name: | ||
'UsageError', | ||
message: | ||
'Invalid usage of `.tolerate()`. No handler function provided, and no\n'+ | ||
'negotiation rule was provided either. (It would be unsafe to continue.)\n'+ | ||
'It is never a good idea to tolerate *ALL* errors a function might\n'+ | ||
'encounter, because doing so would make it easy to accidentally swallow\n'+ | ||
'real problems or bugs. So instead, please provide some way of narrowing\n'+ | ||
'down the errors which you\'d like to tolerate, e.g. `.tolerate(\'E_FOOBAR\')`'+ | ||
' [?] See https://sailsjs.com/support for help.' | ||
}, deferred._omen); | ||
}//• | ||
if (negotiationRule !== undefined) { | ||
@@ -78,0 +93,0 @@ |
{ | ||
"name": "parley", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "Practical, lightweight flow control for Node.js. Supports `await`, callbacks and promises.", | ||
@@ -5,0 +5,0 @@ "main": "lib/parley.js", |
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
205267
2990