leo-connector-common 4.0.10-beta → 4.0.11-beta

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.
@@ -346,11 +346,10 @@ function handleFailedValidation(ID, source, eventObj, error) {
346
346
  errorStream,
347
347
 
348
348
  ls.process(ID, function(obj) {
349
- this.push(obj, { partial: true });
350
- done();
351
- }),
352
-
353
- leo.load(ID, `${source}_error`),
349
+ return obj;
350
+ }, `${source}_error`),
351
+ ls.toLeo(ID),
352
+ ls.devnull(),
354
353
 
355
354
  (err) => {
356
355
  err && logger.error('GOT ERROR', err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leo-connector-common",
3
- "version": "4.0.10-beta",
3
+ "version": "4.0.11-beta",
4
4
  "description": "Common package for all Leo Platform database connectors",
5
5
  "main": "index.js",
6
6
  "directories": {},