mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Added logging if connection to network printer was closed
CURA-2630
This commit is contained in:
parent
2337a78a71
commit
91521eb49d
1 changed files with 1 additions and 0 deletions
|
@ -440,6 +440,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
|
||||
|
||||
def close(self):
|
||||
Logger.log("d", "Closing connection of printer %s with ip %s", self._key, self._address)
|
||||
self._updateJobState("")
|
||||
self.setConnectionState(ConnectionState.closed)
|
||||
if self._progress_message:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue