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.')