Skip to content

Commit

Permalink
log bad data if appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 22, 2024
1 parent 2a47fd3 commit d823f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/adapters/beatmap_mirrors/mirror_aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ async def fetch_beatmap_zip_data(beatmapset_id: int) -> bytes | TimedOut | None:
"beatmapset_id": beatmapset_id,
"ms_elapsed": ms_elapsed,
"data_size": len(result),
"bad_data": result if len(result) < 500 else None,
},
)
return result

0 comments on commit d823f50

Please sign in to comment.