cheshire-cat-ai / admin-vue

Admin panel of the Cheshire Cat AI
GNU General Public License v3.0
32 stars 28 forks source link

[Bug] Activation toggle should not be set activate if plugin activation fails #43

Closed nicola-corbellini closed 1 year ago

nicola-corbellini commented 1 year ago

Describe the bug If a plugin fails to activate due to an error, the admin correctly shows an error notification, but the toggle is set to on anyway.

To Reproduce Steps to reproduce the behavior:

  1. Develop a plugin with a bug
  2. Activate the plugin from the admin
  3. See the toggle activating but the notification and the terminal raising an error

Expected behavior The toggle should stay on deactivated

Screenshots immagine