From 98e2cc472b247ed34c7b89ab1c35f7df7645dccc Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 24 Sep 2024 21:30:51 +0200 Subject: [PATCH] Log platform on internal errors --- patoolib/log.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patoolib/log.py b/patoolib/log.py index ebed303..4d84605 100644 --- a/patoolib/log.py +++ b/patoolib/log.py @@ -19,6 +19,7 @@ import time import locale import logging +import platform from . import configuration @@ -90,6 +91,7 @@ def log_internal_error(): {configuration.App} Python {sys.version} on {sys.platform} +Platform: {platform.platform()} Local time: {now} sys.orig_argv: {sys.orig_argv} Environment: