Skip to content

Commit

Permalink
Log entry date
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin committed Jan 1, 2025
1 parent 407f062 commit 4ae6577
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions newpipe_crash_report_importer/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ async def handle_received_mail(message: Message):
logger.exception("Error while parsing the message")
return

logger.info(f"Entry date: {entry.date}")

if entry.date.timestamp() > datetime.now().timestamp():
logger.error("Exception occured in the future... How could that happen?")
return
Expand Down

0 comments on commit 4ae6577

Please sign in to comment.