mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Improved logging a bit more
CURA-1851
This commit is contained in:
parent
99892ffd58
commit
edabe9d593
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
return
|
||||
|
||||
if self._connection_state_before_timeout and reply.error() == QNetworkReply.NoError: # There was a timeout, but we got a correct answer again.
|
||||
Logger.log("d", "We got a response from the server after %0.1f of silence. Going back to previous state %s", time() - self._last_response_time, self._connection_state_before_timeout)
|
||||
Logger.log("d", "We got a response (%s) from the server after %0.1f of silence. Going back to previous state %s", reply.url().toString(), time() - self._last_response_time, self._connection_state_before_timeout)
|
||||
self.setConnectionState(self._connection_state_before_timeout)
|
||||
self._connection_state_before_timeout = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue