Comparing version 3.2.2 to 3.2.3
@@ -75,3 +75,3 @@ /** | ||
if (negotiationRule === undefined && lcType === 'tolerate') { | ||
if (handler === undefined && negotiationRule === undefined && lcType === 'tolerate') { | ||
throw flaverr({ | ||
@@ -81,8 +81,8 @@ name: | ||
message: | ||
'Invalid usage of `.tolerate()`. No handler function provided, and no\n'+ | ||
'negotiation rule was provided either. (It would be unsafe to continue.)\n'+ | ||
'Invalid usage of `.tolerate()`. No handler function was 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\')`'+ | ||
'down the errors which you\'d like to tolerate, like `.tolerate(\'E_FOOBAR\')`.\n'+ | ||
' [?] See https://sailsjs.com/support for help.' | ||
@@ -89,0 +89,0 @@ }, deferred._omen); |
{ | ||
"name": "parley", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"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
205297