From 9bf877b35a0a7c8745882b56c8cafe8513ac1bbe Mon Sep 17 00:00:00 2001 From: ElderMatt <18527012+ElderMatt@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:29:41 +0200 Subject: [PATCH] fix: simpler error p3 --- src/operator/watcherutilnew.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/operator/watcherutilnew.ts b/src/operator/watcherutilnew.ts index 0e702e8..fcf2c4a 100644 --- a/src/operator/watcherutilnew.ts +++ b/src/operator/watcherutilnew.ts @@ -265,9 +265,8 @@ export default abstract class Operator { }), (err) => { if (err) { - console.log('ERROR: ', err) if (err.code === 'ECONNRESET') { - console.log(`watch on resource ${id} failed: Watcher disconnected`) + console.log(`watch on resource ${id} timed out: Watcher disconnected`) } else { console.log(`watch on resource ${id} failed: ${this.errorToJson(err)}`) }