mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-27 17:33:14 +08:00
Change the logging of operationcancelled to debug instead of error
THe operation being cancelled is not an error; it's an expected action, since it happens after the user closes the window. CURA-8557
This commit is contained in:
parent
afe9c0c633
commit
7e674a18b3
@ -172,7 +172,7 @@ class PackageList(ListModel):
|
|||||||
:param error: The error status of the request.
|
:param error: The error status of the request.
|
||||||
"""
|
"""
|
||||||
if error == QNetworkReply.NetworkError.OperationCanceledError:
|
if error == QNetworkReply.NetworkError.OperationCanceledError:
|
||||||
Logger.error("Cancelled request for packages.")
|
Logger.debug("Cancelled request for packages.")
|
||||||
self._ongoing_request = None
|
self._ongoing_request = None
|
||||||
return # Don't show an error about this to the user.
|
return # Don't show an error about this to the user.
|
||||||
Logger.error("Could not reach Marketplace server.")
|
Logger.error("Could not reach Marketplace server.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user