We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug (please complete the following information)[清晰簡潔的描述 bug] A clear and concise description of what the bug is.
在網路斷線情況下去取資料,request_get 無法正確回傳Exception訊息,因為此時reponse的值是空的,因此 if response.json()["msg"] == "success" and response.status_code == 200:會噴錯
request_get
if response.json()["msg"] == "success" and response.status_code == 200:
To Reproduce (please complete the following information)[一步一步說明如何重現 bug] Steps to reproduce the behavior:
Expected behavior (please complete the following information)[清晰簡潔的描述你預期的結果] A clear and concise description of what you expected to happen.
應該要回傳Exception
Desktop (please complete the following information):[提供程式的執行環境]
The text was updated successfully, but these errors were encountered:
#286
Sorry, something went wrong.
linsamtw
No branches or pull requests
Describe the bug (please complete the following information)[清晰簡潔的描述 bug]
A clear and concise description of what the bug is.
在網路斷線情況下去取資料,
request_get
無法正確回傳Exception訊息,因為此時reponse的值是空的,因此if response.json()["msg"] == "success" and response.status_code == 200:
會噴錯To Reproduce (please complete the following information)[一步一步說明如何重現 bug]
Steps to reproduce the behavior:
Expected behavior (please complete the following information)[清晰簡潔的描述你預期的結果]
A clear and concise description of what you expected to happen.
應該要回傳Exception
Desktop (please complete the following information):[提供程式的執行環境]
The text was updated successfully, but these errors were encountered: