mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: handle all exceptions in fetch toolstore tools error logging
This commit is contained in:
parent
4991890739
commit
54eb60d2c4
|
|
@ -777,7 +777,7 @@ class ToolSerializer(serializers.Serializer):
|
|||
finally:
|
||||
# 清理临时文件
|
||||
os.unlink(temp_zip_path)
|
||||
except requests.RequestException as e:
|
||||
except Exception as e:
|
||||
maxkb_logger.error(f"fetch appstore tools error: {e}")
|
||||
return {'apps': [], 'additionalProperties': {'tags': []}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue