Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Oct 8, 2024
1 parent 77b36de commit d51eafb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ async def process_msg_v1(


async def process_msg_v2(msg: ReportInQV2) -> StgReportCreate:
if msg.ts > 1735736400:
logger.warning(f"{msg.ts=} > 2025-01-01, {msg=}")

gmt = time.gmtime(msg.ts)
human_time = time.strftime("%Y-%m-%d %H:%M:%S", gmt)
human_time = datetime.fromtimestamp(msg.ts)
Expand Down

0 comments on commit d51eafb

Please sign in to comment.