调整容器挂载文件

This commit is contained in:
2024-09-26 13:44:05 +08:00
parent 86d28096d4
commit ff9d612e67
11 changed files with 94 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
import logging
import os
from flask import jsonify
@@ -13,6 +14,7 @@ def process_request(func):
result = func(*args, **kwargs)
return jsonify(result), 200
except Exception as e:
logging.getLogger("error").error(e, exc_info=e)
return jsonify({'error': str(e)}), 500
return wrapper