Spaces:
Running
Running
Commit ·
47f0671
1
Parent(s): ad20b55
debug: log video API error code and msg
Browse files667 unmodified lines668669670671672673674667 unmodified linescontinuevurl = vd.get("videoUrl", "")if not vurl:errors.append(f"Castle: no videoUrl res={resolution}, keys={list(vd.keys())[:5]}")continuequality_map = {1: "480p", 2: "720p", 3: "1080p"}667 unmodified lines668669670671672673674667 unmodified linescontinuevurl = vd.get("videoUrl", "")if not vurl:errors.append(f"Castle: video API error res={resolution}: code={vd.get('code')}, msg={vd.get('msg')}")continuequality_map = {1: "480p", 2: "720p", 3: "1080p"}
main.py+1-1