mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
handle error types
This commit is contained in:
parent
c35cce0971
commit
4b207d74a3
1 changed files with 3 additions and 0 deletions
|
|
@ -138,6 +138,9 @@ class DetailsWidget(QtWidgets.QWidget):
|
|||
if exc_info:
|
||||
lines.append(exc_info)
|
||||
|
||||
elif log["type"] == "error":
|
||||
lines.append(log["traceback"])
|
||||
|
||||
else:
|
||||
print(log["type"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue