@punks/backend-entity-manager 0.0.95 → 0.0.96

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/dist/cjs/index.js CHANGED
@@ -153,7 +153,7 @@ class EntitySerializer {
153
153
  }
154
154
  convertSheetRecord(record) {
155
155
  if (!record._type || record._type !== this.entityName) {
156
- throw new Error(`Invalid record type ${record._type}`);
156
+ throw new Error(`Invalid record type ${record._type} -> record: \n${JSON.stringify(record)}`);
157
157
  }
158
158
  const definition = this.getDefinition();
159
159
  const entity = {};