@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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -145,7 +145,7 @@ class EntitySerializer {
|
|
|
145
145
|
}
|
|
146
146
|
convertSheetRecord(record) {
|
|
147
147
|
if (!record._type || record._type !== this.entityName) {
|
|
148
|
-
throw new Error(`Invalid record type ${record._type}`);
|
|
148
|
+
throw new Error(`Invalid record type ${record._type} -> record: \n${JSON.stringify(record)}`);
|
|
149
149
|
}
|
|
150
150
|
const definition = this.getDefinition();
|
|
151
151
|
const entity = {};
|