Skip to content

Commit

Permalink
Merge pull request #8 from yachachli/switching_to_player_id
Browse files Browse the repository at this point in the history
new logging for nfl
  • Loading branch information
AlexanderHott authored Jan 4, 2025
2 parents 5472691 + 9699be4 commit e9f49f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nfl-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from datetime import datetime, timedelta
from os import environ
from traceback import format_exception
import traceback

import asyncpg
import httpx
Expand Down Expand Up @@ -549,10 +550,10 @@ async def get_player_games(player_id):
logging.info(f" inserted {len(rows_game_stats)} game stats")
await conn.close()
except Exception as e:
import pdb
# import pdb

logging.error("".join(format_exception(e)))
pdb.set_trace()
logging.error(traceback.format_exc())
# pdb.set_trace()


if __name__ == "__main__":
Expand Down

0 comments on commit e9f49f7

Please sign in to comment.