mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Expand log message when getting no definition when listing error settings
So that someone reading the log gets a clue where the error message occurs and why. Contributes to issue CURA-3772.
This commit is contained in:
parent
82663a727f
commit
e19d5411c2
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class CuraEngineBackend(QObject, Backend):
|
|||
if definitions:
|
||||
error_labels.add(definitions[0].label)
|
||||
else:
|
||||
Logger.log("w", "Unable to find definition for key: {key}".format(key = key))
|
||||
Logger.log("w", "When checking settings for errors, unable to find definition for key: {key}".format(key = key))
|
||||
|
||||
error_labels = ", ".join(error_labels)
|
||||
self._error_message = Message(catalog.i18nc("@info:status", "Unable to slice with the current settings. The following settings have errors: {0}".format(error_labels)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue