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:
parent
8b0c37476f
commit
36c3af1446
@ -30,7 +30,7 @@ export default class OctoprintConnection {
|
|||||||
console.error(
|
console.error(
|
||||||
`Failed to connect to "${this.slug}", attempting reconnection in 5 seconds`
|
`Failed to connect to "${this.slug}", attempting reconnection in 5 seconds`
|
||||||
);
|
);
|
||||||
console.error(e);
|
console.error(e.message);
|
||||||
setTimeout(() => this.try_connect_websocket(), 5000);
|
setTimeout(() => this.try_connect_websocket(), 5000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user