mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Make cloud API error a generic message to not scare the user
This commit is contained in:
parent
0942bebaf8
commit
92eb361ba1
2 changed files with 4 additions and 4 deletions
|
@ -119,7 +119,7 @@ class CloudApiClient:
|
|||
except (UnicodeDecodeError, JSONDecodeError, ValueError) as err:
|
||||
error = CloudError(code=type(err).__name__, title=str(err), http_code=str(status_code),
|
||||
id=str(time()), http_status="500")
|
||||
Logger.logException("e", "Could not parse the stardust response: %s", error)
|
||||
Logger.logException("e", "Could not parse the stardust response: %s", error.toDict())
|
||||
return status_code, {"errors": [error.toDict()]}
|
||||
|
||||
## Parses the given models and calls the correct callback depending on the result.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue