Remove message explaining what caused the error

It doesn't matter to the user. Only the error message matters.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-11-01 18:29:36 +01:00
parent e7e513bb16
commit 67cae04a24
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -182,7 +182,7 @@ class CloudMaterialSync(QObject):
return
if job_result == UploadMaterialsJob.Result.FAILED:
if isinstance(job_error, UploadMaterialsError):
self.sync_all_dialog.setProperty("syncStatusText", catalog.i18nc("@text", "Error sending materials to the Digital Factory:") + " " + str(job_error))
self.sync_all_dialog.setProperty("syncStatusText", str(job_error))
else: # Could be "None"
self.sync_all_dialog.setProperty("syncStatusText", catalog.i18nc("@text", "Unknown error."))
self._export_upload_status = "error"