@opentermsarchive/engine 0.34.3 → 0.35.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentermsarchive/engine",
3
- "version": "0.34.3",
3
+ "version": "0.35.0",
4
4
  "description": "Tracks and makes visible changes to the terms of online services",
5
5
  "homepage": "https://github.com/OpenTermsArchive/engine#readme",
6
6
  "bugs": {
@@ -154,14 +154,6 @@ export default class Archivist extends events.EventEmitter {
154
154
  throw error;
155
155
  }
156
156
 
157
- if (error.message.includes('EAI_AGAIN')) {
158
- // EAI_AGAIN is a DNS lookup timed out error, which means it is a network connectivity error or proxy related error.
159
- // This operational error is mostly transient and should be handled by retrying the operation.
160
- // As there is no retry mechanism in the engine yet, crash the engine and leave it to the process
161
- // manager to handle the retries and the delay between them.
162
- throw error;
163
- }
164
-
165
157
  inaccessibleContentErrors.push(error.message);
166
158
  }
167
159
  }));