@steerprotocol/data-connector-loader 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -120,9 +120,7 @@ class DataConnectorExecution {
120
120
  if (process.env.DATA_LOADER_SILENT_ERRORS !== 'true') {
121
121
  console.error('Data connector failed to process.', e);
122
122
  }
123
- else {
124
- throw e;
125
- }
123
+ throw e;
126
124
  }
127
125
  let transformedData = JSON.parse(dataConnector.getResults());
128
126
  if (version == 1 && transformedData.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steerprotocol/data-connector-loader",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "App Loader for Steer Protocol",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",