假设我有一个 try and catch 并且有一个异常......在现场制作(django)网站上处理这些异常/错误的正确方法是什么?
所以我有
try:
create_response = wepay.call('/account/create',
{'name': name, 'description': desc})
self.wepay_account_id = create_response['account_id']
self.save()
except WePay.WePayError as e:
..... (what do I put here?