fix: ruff

This commit is contained in:
Yeuoly
2024-11-21 14:36:01 +08:00
parent 7c74aaabcf
commit 846c3faba7
3 changed files with 17354 additions and 15296 deletions

View File

@ -37,9 +37,9 @@ class PluginService:
manifests = {
manifest.plugin_id: manifest for manifest in marketplace.batch_fetch_plugin_manifests(plugin_ids)
}
except Exception as e:
except Exception:
manifests = {}
logger.exception(f"failed to fetch plugin manifests: {e}")
logger.exception("failed to fetch plugin manifests")
for plugin in plugins:
if plugin.source == PluginInstallationSource.Marketplace: