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.
- package/datawarehouse/load.js +4 -5
- package/package.json +1 -1
package/datawarehouse/load.js
CHANGED
|
@@ -346,11 +346,10 @@ function handleFailedValidation(ID, source, eventObj, error) {
|
|
|
346
346
|
errorStream,
|
|
347
347
|
|
|
348
348
|
ls.process(ID, function(obj) {
|
|
349
|
-
|
|
350
|
-
|
|
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);
|