botinabox 2.4.0 → 2.4.1

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
@@ -2173,9 +2173,11 @@ ${ctx2}`;
2173
2173
  void this.extractAsync(messageId);
2174
2174
  } catch (err) {
2175
2175
  await this.hooks.emit("typing.stop", { channel: this.channel, threadId: threadTs });
2176
+ const errMsg = err instanceof Error ? err.message : String(err);
2177
+ console.error("[ChatPipelineV2] Pipeline error:", errMsg);
2176
2178
  await this.hooks.emit("pipeline.error", {
2177
2179
  messageId,
2178
- error: err instanceof Error ? err.message : String(err)
2180
+ error: errMsg
2179
2181
  });
2180
2182
  }
2181
2183
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botinabox",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Bot in a Box — framework for building multi-agent bots",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",