Skip to content

Commit 54eb60d

Browse files
committed
fix: handle all exceptions in fetch toolstore tools error logging
1 parent 4991890 commit 54eb60d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/tools/serializers/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def get_appstore_tools(self):
777777
finally:
778778
# 清理临时文件
779779
os.unlink(temp_zip_path)
780-
except requests.RequestException as e:
780+
except Exception as e:
781781
maxkb_logger.error(f"fetch appstore tools error: {e}")
782782
return {'apps': [], 'additionalProperties': {'tags': []}}
783783

0 commit comments

Comments
 (0)