Skip to content

Enhancement: Imprint more informative errors - #475

Merged
BigRoy merged 2 commits into
developfrom
enhancement/imprint_raise_info_about_key
Sep 24, 2026
Merged

BigRoy merged 2 commits into
developfrom
enhancement/imprint_raise_info_about_key

Conversation

@BigRoy

@BigRoy BigRoy commented Sep 23, 2026

Copy link
Copy Markdown
Member

Changelog Description

Be more explicit about the node and key that was being set when imprint fails on type of value.

Additional review information

Somewhat related to this: #282
This may also pinpoint those entries that were trying to set None

Testing notes:

  1. Review code

@BigRoy
BigRoy requested review from moonyuet and a lite review from Copilot September 23, 2026 18:08
@BigRoy BigRoy self-assigned this Sep 23, 2026
@BigRoy BigRoy added the type: enhancement Improvement of existing functionality or minor addition label Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Improves Maya imprint errors by identifying the affected node and attribute key.

Changes:

  • Adds node and key context to unsupported-value TypeError messages.
File Description
client/​ayon_maya/​api/​lib.py Enhances imprint failure diagnostics.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@moonyuet moonyuet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BigRoy
BigRoy merged commit 93e4a76 into develop Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants