@dotdev/harmony-sdk 1.24.0 → 1.25.0

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.
@@ -128,7 +128,8 @@ export class ApiHelper {
128
128
  }
129
129
  }
130
130
  else {
131
- return new RequestError(`An unexpected error occurred during API request: ${JSON.stringify(error.message)}`);
131
+ logger.error(`Unexpected error occurred during API request`);
132
+ throw error;
132
133
  }
133
134
  }
134
135
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdev/harmony-sdk",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "Harmony API SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",