2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-11-24 00:13:48 -05:00

Just show error message for octoprint connection failures

This commit is contained in:
Adam Goldsmith 2022-01-04 22:48:24 -05:00
parent 8b0c37476f
commit 36c3af1446

View File

@ -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);
});
}