From 36c3af1446c88e253d2784070f1531e2f4a149fd Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 4 Jan 2022 22:48:24 -0500 Subject: [PATCH] Just show error message for octoprint connection failures --- server/src/OctoPrintConnection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/OctoPrintConnection.ts b/server/src/OctoPrintConnection.ts index fc32293..c6a68ab 100644 --- a/server/src/OctoPrintConnection.ts +++ b/server/src/OctoPrintConnection.ts @@ -30,7 +30,7 @@ export default class OctoprintConnection { console.error( `Failed to connect to "${this.slug}", attempting reconnection in 5 seconds` ); - console.error(e); + console.error(e.message); setTimeout(() => this.try_connect_websocket(), 5000); }); }