OP-4679 - updated logging

Printing what is actually missing is more helpful than only full data.
This commit is contained in:
Petr Kalis 2023-01-10 18:17:15 +01:00
parent 48d43f7fea
commit 59e2bd2bdf

View file

@ -130,8 +130,8 @@ class IntegrateFtrackNote(pyblish.api.InstancePlugin):
if not note_text.solved:
self.log.warning((
"Note template require more keys then can be provided."
"\nTemplate: {}\nData: {}"
).format(template, format_data))
"\nTemplate: {}\nMissing values for keys:{}\nData: {}"
).format(template, note_text.missing_keys, format_data))
continue
if not note_text: