Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: custom message for plugin errors #613

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

kodaline
Copy link
Contributor

@kodaline kodaline commented Dec 7, 2023

Description

A custom warning message is shown in case an error occurs during plugin operations.
Printing stack trace with the error.

relates to issue #602

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

A custom warning message is shown in case an error occurs during
plugin operations.
Printing stack trace with the error.

relates to issue cheshire-cat-ai#602
@pieroit pieroit merged commit 1b082b0 into cheshire-cat-ai:develop Dec 28, 2023
1 check passed
@pieroit
Copy link
Member

pieroit commented Dec 28, 2023

Thanks @kodaline !
Moved the method plugin_specific_error_message inside the Plugin class for easier usage

@kodaline kodaline deleted the develop_issue_#602 branch January 7, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants