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.
- package/package.json +1 -1
- package/utils.js +1 -1
package/package.json
CHANGED
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(
|
|
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
|
|