Improve logging, UX for cloud-upload-errors.

One of the reasons this bug (see parent of this commit ... or the issue nr if you have internal access) was so vague is that A. the user was insufficiently prompted, and B. no one could find anything in our logs.

CURA-8004
This commit is contained in:
Remco Burema 2021-04-14 14:30:42 +02:00
parent 9227c303c6
commit 4c5dac0dfd
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
2 changed files with 5 additions and 2 deletions

View file

@ -13,6 +13,5 @@ class PrintJobUploadErrorMessage(Message):
def __init__(self, message: str = None) -> None:
super().__init__(
text = message or I18N_CATALOG.i18nc("@info:text", "Could not upload the data to the printer."),
title = I18N_CATALOG.i18nc("@info:title", "Network error"),
lifetime = 10
title = I18N_CATALOG.i18nc("@info:title", "Network error")
)