@shushed/helpers 0.0.135 → 0.0.136

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -171548,7 +171548,9 @@ var TriggerHelper = class {
171548
171548
  await action.onExecute(config, optionsEnchanced, message);
171549
171549
  } catch (error) {
171550
171550
  options.logging.error("Action execution failed:", error, error.stack);
171551
- optionsEnchanced.req.throw(500, `Action execution failed: ${error instanceof Error ? error.message : "Unknown error"}`);
171551
+ if (!executionFinished) {
171552
+ optionsEnchanced.req.throw(500, `Action execution failed: ${error instanceof Error ? error.message : "Unknown error"}`);
171553
+ }
171552
171554
  return;
171553
171555
  }
171554
171556
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.135",
3
+ "version": "0.0.136",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",