ga4-export-fixer 0.1.3-dev.2 → 0.1.3-dev.3

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/package.json +1 -1
  2. package/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.1.3-dev.2",
3
+ "version": "0.1.3-dev.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
package/utils.js CHANGED
@@ -232,7 +232,7 @@ const setDataformContext = (ctx, config) => {
232
232
  } else {
233
233
  // if the sourceTable is not a Dataform reference, it must be a string in the format '`project.dataset.table`'
234
234
  if (typeof config.sourceTable !== 'string' || !/^`[^\.]+\.[^\.]+\.[^\.]+`$/.test(config.sourceTable)) {
235
- throw new Error("config.sourceTable must be a Dataform table reference or a string in the format '`project.dataset.table`'");
235
+ throw new Error(`Failed to set Dataform context: config.sourceTable must be a Dataform table reference or a string in the format 'project.dataset.table'. Received: ${JSON.stringify(config.sourceTable)}`);
236
236
  }
237
237
  }
238
238