faas-js-runtime
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -37,3 +37,3 @@ /** | ||
// to a Message first and respond with the headers/body | ||
if (fnReturn instanceof CloudEvent || fnReturn.constructor?.name === 'CloudEvent') { | ||
if (fnReturn instanceof CloudEvent || fnReturn?.constructor?.name === 'CloudEvent') { | ||
try { | ||
@@ -125,3 +125,3 @@ const message = HTTP.binary(fnReturn); | ||
function handleError(err, log) { | ||
log.error('Error processing user function', err); | ||
log.error(`Error processing user function: "${err}"`); | ||
return { | ||
@@ -128,0 +128,0 @@ code: err.code ? err.code : 500, |
{ | ||
"name": "faas-js-runtime", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"repository": { | ||
@@ -11,3 +11,3 @@ "type": "git", | ||
"engines": { | ||
"node": "^20 || ^18 || ^16" | ||
"node": "^22 || ^20 || ^18 || ^16" | ||
}, | ||
@@ -14,0 +14,0 @@ "type": "commonjs", |
Sorry, the diff of this file is too big to display
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
156893