mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Added validation to the models
This commit is contained in:
parent
68a90ec510
commit
a382b77eaa
2 changed files with 16 additions and 2 deletions
|
@ -159,8 +159,8 @@ class SendMaterialJob(Job):
|
|||
Logger.log("e", "Request material storage on printer: I didn't understand the printer's answer.")
|
||||
except json.JSONDecodeError:
|
||||
Logger.log("e", "Request material storage on printer: I didn't understand the printer's answer.")
|
||||
except TypeError:
|
||||
Logger.log("e", "Request material storage on printer: Printer's answer was missing GUIDs.")
|
||||
except ValueError:
|
||||
Logger.log("e", "Request material storage on printer: Printer's answer was missing a value.")
|
||||
|
||||
## Retrieves a list of local materials
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue