mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:25:53 +08:00
Added bit more logging
This commit is contained in:
parent
8cc9e8cf72
commit
d405afb9f2
@ -499,6 +499,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
|
|
||||||
status_code = reply.attribute(QNetworkRequest.HttpStatusCodeAttribute)
|
status_code = reply.attribute(QNetworkRequest.HttpStatusCodeAttribute)
|
||||||
if not status_code:
|
if not status_code:
|
||||||
|
Logger.log("d", "A reply without a status code was received. Dropping the message")
|
||||||
# Received no or empty reply
|
# Received no or empty reply
|
||||||
return
|
return
|
||||||
reply_url = reply.url().toString()
|
reply_url = reply.url().toString()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user