@netlify/build 29.26.4 → 29.26.6

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.
@@ -13,6 +13,10 @@ export type BasicErrorInfo = {
13
13
  errorInfo: ErrorInfo;
14
14
  errorProps: Record<string, unknown>;
15
15
  errorMetadata: any;
16
+ /**
17
+ * The core step id where the error took place
18
+ */
19
+ stage?: string;
16
20
  tsConfigInfo?: any;
17
21
  } & ErrorType;
18
22
  /**
@@ -109,6 +109,8 @@ export const buildErrorToTracingAttributes = function (error) {
109
109
  attributes[`${buildErrorAttributePrefix}.type`] = error.type;
110
110
  if (error?.locationType)
111
111
  attributes[`${buildErrorAttributePrefix}.location.type`] = error.locationType;
112
+ if (error?.stage)
113
+ attributes[`${buildErrorAttributePrefix}.step.id`] = error.stage;
112
114
  return {
113
115
  ...attributes,
114
116
  ...errorLocationToTracingAttributes(error.errorInfo?.location),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "29.26.4",
3
+ "version": "29.26.6",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -67,8 +67,8 @@
67
67
  "@bugsnag/js": "^7.0.0",
68
68
  "@honeycombio/opentelemetry-node": "^0.5.0",
69
69
  "@netlify/cache-utils": "^5.1.5",
70
- "@netlify/config": "^20.9.0",
71
- "@netlify/edge-bundler": "10.1.0",
70
+ "@netlify/config": "^20.10.0",
71
+ "@netlify/edge-bundler": "10.1.2",
72
72
  "@netlify/framework-info": "^9.8.10",
73
73
  "@netlify/functions-utils": "^5.2.40",
74
74
  "@netlify/git-utils": "^5.1.1",
@@ -146,5 +146,5 @@
146
146
  "engines": {
147
147
  "node": "^14.16.0 || >=16.0.0"
148
148
  },
149
- "gitHead": "7b23feab14bc8f97de9a9aa1133782a8319b3731"
149
+ "gitHead": "5c48c0c578dfb38790db08807e43cfcea11f821d"
150
150
  }