chore: Print a compact message for 'socket hang up' error
MODIFY
lib/jsonwp-proxy/proxy.js
lib/jsonwp-proxy/proxy.js
@@ -16,7 +16,10 @@ import https from 'https';
const log = logger.getLogger('WD Proxy');
const DEFAULT_REQUEST_TIMEOUT = 240000;
-const COMPACT_ERROR_PATTERNS = [/\bECONNREFUSED\b/];
+const COMPACT_ERROR_PATTERNS = [
+ /\bECONNREFUSED\b/,
+ /socket hang up/,
+];
const {MJSONWP, W3C} = PROTOCOLS;

chore: Print a compact message for 'socket hang up' error (#415)