fix: ruff
This commit is contained in:
parent
7c74aaabcf
commit
846c3faba7
@ -51,8 +51,8 @@ class BasePluginManager:
|
||||
response = requests.request(
|
||||
method=method, url=str(url), headers=headers, data=data, params=params, stream=stream, files=files
|
||||
)
|
||||
except requests.exceptions.ConnectionError as e:
|
||||
logger.exception(f"Request to Plugin Daemon Service failed: {e}")
|
||||
except requests.exceptions.ConnectionError:
|
||||
logger.exception("Request to Plugin Daemon Service failed")
|
||||
raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed")
|
||||
|
||||
return response
|
||||
|
@ -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:
|
||||
|
32642
web/pnpm-lock.yaml
32642
web/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user