From c3c30898912e04908a86ebccdec6094eed6af78f Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 21 Aug 2026 02:34:09 +0200 Subject: [PATCH] fix: prestart.sh rollback after each plugin activation failure --- prestart.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/prestart.sh b/prestart.sh index 8f4284e..ea70fc8 100644 --- a/prestart.sh +++ b/prestart.sh @@ -133,6 +133,7 @@ async def auto_activate_plugins(): print(f'[prestart] Activated plugin: {name}') except Exception as e: print(f'[prestart] WARNING: Could not activate plugin {name}: {e}') + await db.rollback() await db.commit() print('[prestart] Plugin auto-activation complete.')