remove logs
This commit is contained in:
@ -553,8 +553,6 @@ def LocationInBound(request):
|
|||||||
|
|
||||||
logger.debug(f"Number of locations found: {len(locs)}")
|
logger.debug(f"Number of locations found: {len(locs)}")
|
||||||
|
|
||||||
print(f"====== {len(locs)} check points is loaded.. ======")
|
|
||||||
|
|
||||||
if len(locs) > 200:
|
if len(locs) > 200:
|
||||||
return JsonResponse({"too_many_points": True}, safe=False, status=500)
|
return JsonResponse({"too_many_points": True}, safe=False, status=500)
|
||||||
else:
|
else:
|
||||||
@ -604,7 +602,6 @@ def LocationInBound2(request):
|
|||||||
logger.debug(f"Final query: {base_query.query}")
|
logger.debug(f"Final query: {base_query.query}")
|
||||||
locs = base_query
|
locs = base_query
|
||||||
logger.debug(f"Number of locations found: {len(locs)}")
|
logger.debug(f"Number of locations found: {len(locs)}")
|
||||||
print(f"====== {len(locs)} check points is loaded.. ======")
|
|
||||||
|
|
||||||
if len(locs) > 200:
|
if len(locs) > 200:
|
||||||
return JsonResponse({"too_many_points": True}, safe=False, status=500)
|
return JsonResponse({"too_many_points": True}, safe=False, status=500)
|
||||||
@ -663,8 +660,6 @@ def LocationInBound_orig(request):
|
|||||||
|
|
||||||
logger.debug(f"Number of locations found: {len(locs)}")
|
logger.debug(f"Number of locations found: {len(locs)}")
|
||||||
|
|
||||||
|
|
||||||
print(f"====== {len(locs)} check points is loaded.. ======")
|
|
||||||
'''
|
'''
|
||||||
if(cat):
|
if(cat):
|
||||||
if is_rog:
|
if is_rog:
|
||||||
|
|||||||
@ -1016,6 +1016,7 @@ curl -X PUT "/entry/123/update-status/" \
|
|||||||
| 404 | リソースが見つからない |
|
| 404 | リソースが見つからない |
|
||||||
| 409 | 重複エラー |
|
| 409 | 重複エラー |
|
||||||
| 500 | サーバーエラー |
|
| 500 | サーバーエラー |
|
||||||
|
| 502 | Bad Gateway(プロキシサーバーエラー) |
|
||||||
|
|
||||||
## 共通エラーレスポンス
|
## 共通エラーレスポンス
|
||||||
|
|
||||||
@ -1175,6 +1176,7 @@ curl -X PUT "/entry/123/update-status/" \
|
|||||||
5. **エラーハンドリング**: APIからのエラーレスポンスを適切に処理してください
|
5. **エラーハンドリング**: APIからのエラーレスポンスを適切に処理してください
|
||||||
6. **エントリー情報同期**: アプリ起動時は `/user/current-entry-info/` でエントリー情報を同期してください
|
6. **エントリー情報同期**: アプリ起動時は `/user/current-entry-info/` でエントリー情報を同期してください
|
||||||
7. **ステータス更新**: エントリーステータス更新API は後方互換性のため新旧フィールド名をサポートしています
|
7. **ステータス更新**: エントリーステータス更新API は後方互換性のため新旧フィールド名をサポートしています
|
||||||
|
8. **502エラー対策**: 一時的な502 Bad Gatewayエラーが発生した場合は、数秒待ってから再試行してください(特に大量データ取得時)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user