运行一段时间后报500错误 #35
Unanswered
wallyperry
asked this question in
Bug反馈
Replies: 1 comment 4 replies
-
此处是机器自己查询的订单入口,如果出现,意味着你的订单没有及时创建,空白的内容,返回的肯定是异常的 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ERROR in app: Exception on /api/v2/get_card [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask_cors/extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/src/app/service/api/user.py", line 409, in get_card
return jsonify(card.only_card()) #返回卡密和订单时间
AttributeError: 'NoneType' object has no attribute 'only_card'
Beta Was this translation helpful? Give feedback.
All reactions