fix: surface and recover from silent plugin re-enable failures after update
Tatortreiniger / tatort-reinigen (release) Has been cancelled

reloadPlugin() previously swallowed disablePlugin/enablePlugin exceptions
unless debuggingMode was on, and the update path always reported success
regardless of whether the reload actually worked. This let auto-updated
plugins (most often actively-developed ones like BindThem, since only a
real version bump exercises the reload path) end up silently disabled
after a background update, with no error and a false 'Updated' notice.

Now reloadPlugin() returns success/failure, always logs the error, retries
once via enablePluginAndSave as a fallback, and the update notice reflects
the real outcome so a failed re-enable is visible instead of silent.
This commit is contained in:
olivier committed 2026-09-23 09:08:22 -04:00
1 parent aacee9ddcd
commit f69790c2f9
3 files changed
+28 -8

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "obsidian42-brat-gitea",
"name": "BRAT (Gitea Fork)",
"version": "1.0.0",
"version": "1.0.1",
"minAppVersion": "1.11.4",
"description": "Easily install beta plugins from GitHub AND self-hosted Gitea/Forgejo instances.",
"author": "TfTHacker (Gitea fork)",