@develit-io/backend-sdk 9.10.4 → 9.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -372,7 +372,7 @@ async function handleAction(worker, input, options = {}, actionExecution) {
|
|
|
372
372
|
}
|
|
373
373
|
return RPCResponse.ok(successMessage, { data });
|
|
374
374
|
} catch (error) {
|
|
375
|
-
const internalError = createInternalError(error);
|
|
375
|
+
const internalError = isInternalError(error) ? error : createInternalError(error);
|
|
376
376
|
worker.logError(internalError);
|
|
377
377
|
return RPCResponse.serviceError(internalError);
|
|
378
378
|
}
|