Skip to content

PLUGIN: UX - Error handling for the purposes of feedback for the user #16

Description

@Danweel

Blender's console can be hidden. If a script fails, the user might not see errors produced, which is common.

Best Practice: Wrap critical operations in try...except blocks and use self.report({'WARNING'}, "Message") in operators.

This produces the error in the UI (top-left corner) even if the terminal isn't open.

Simple little change for better interaction

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C issueC-class issues don't explicitly prevent actions from being performed.MildLow Severity issues that only causes light visible issues or inconvenience within its class.feature requestA request specifically aimed at the website

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions