From 4ae6577c254d9fbc58c8eb21c6223c5cf503f973 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Wed, 1 Jan 2025 01:09:28 +0100 Subject: [PATCH] Log entry date --- newpipe_crash_report_importer/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newpipe_crash_report_importer/cli.py b/newpipe_crash_report_importer/cli.py index 2ff4c67..e33c52a 100644 --- a/newpipe_crash_report_importer/cli.py +++ b/newpipe_crash_report_importer/cli.py @@ -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