@mastra/clickhouse 1.5.1-alpha.0 → 1.5.1-alpha.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/clickhouse
2
2
 
3
+ ## 1.5.1-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Improved ClickHouse v-next observability initialization errors to include the underlying ClickHouse message in the standard error text. This makes init failures actionable in loggers that only print `error.message`. ([#15588](https://github.com/mastra-ai/mastra/pull/15588))
8
+
9
+ - Updated dependencies [[`0a0aa94`](https://github.com/mastra-ai/mastra/commit/0a0aa94729592e99885af2efb90c56aaada62247), [`01a7d51`](https://github.com/mastra-ai/mastra/commit/01a7d513493d21562f677f98550f7ceb165ba78c)]:
10
+ - @mastra/core@1.27.0-alpha.1
11
+
3
12
  ## 1.5.1-alpha.0
4
13
 
5
14
  ### Patch Changes
@@ -3,7 +3,7 @@ name: mastra-clickhouse
3
3
  description: Documentation for @mastra/clickhouse. Use when working with @mastra/clickhouse APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/clickhouse"
6
- version: "1.5.1-alpha.0"
6
+ version: "1.5.1-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.1-alpha.0",
2
+ "version": "1.5.1-alpha.1",
3
3
  "package": "@mastra/clickhouse",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -5651,12 +5651,13 @@ var ObservabilityStorageClickhouseVNext = class extends storage.ObservabilitySto
5651
5651
  if (error$1 instanceof error.MastraError) {
5652
5652
  throw error$1;
5653
5653
  }
5654
+ const causeMessage = error$1 instanceof Error ? error$1.message : String(error$1);
5654
5655
  throw new error.MastraError(
5655
5656
  {
5656
5657
  id: storage.createStorageErrorId("CLICKHOUSE", "VNEXT_INIT", "FAILED"),
5657
5658
  domain: error.ErrorDomain.STORAGE,
5658
5659
  category: error.ErrorCategory.THIRD_PARTY,
5659
- text: "Failed to initialize ClickHouse v-next observability tables"
5660
+ text: `Failed to initialize ClickHouse v-next observability tables: ${causeMessage}`
5660
5661
  },
5661
5662
  error$1
5662
5663
  );