mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 13:05:56 +08:00
Added logging if connection to network printer was closed
CURA-2630
This commit is contained in:
parent
2337a78a71
commit
91521eb49d
@ -440,6 +440,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
|
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
Logger.log("d", "Closing connection of printer %s with ip %s", self._key, self._address)
|
||||||
self._updateJobState("")
|
self._updateJobState("")
|
||||||
self.setConnectionState(ConnectionState.closed)
|
self.setConnectionState(ConnectionState.closed)
|
||||||
if self._progress_message:
|
if self._progress_message:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user