Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Error message in pyblish UI #1205

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pype/tools/pyblish_pype/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,9 @@ def append(self, record_items):
all_record_items = []
for record_item in record_items:
record_type = record_item["type"]

# Add error message to detail
if record_type == "error":
record_item["msg"] = record_item["label"]
terminal_item_type = None
if record_type == "record":
for level, _type in self.level_to_record:
Expand Down