diff --git a/wwwroot/transfer_check.dspy b/wwwroot/transfer_check.dspy index dd9fbf4..e039ae9 100644 --- a/wwwroot/transfer_check.dspy +++ b/wwwroot/transfer_check.dspy @@ -88,5 +88,5 @@ try: }} except Exception as e: - exception(f'transfer_check.dspy error: {e}') - return {"widgettype": "Message", "options": {"timeout": 5, "title": "错误", "message": f"处理失败: {e}"} + exception('transfer_check.dspy error: ' + str(e)) + return {"widgettype": "Message", "options": {"timeout": 5, "title": "错误", "message": "处理失败: " + str(e)}}