From 199734cebae692340c81ed68a4f128b98e086b7f Mon Sep 17 00:00:00 2001 From: 97gamjak <97gamjak@gmail.com> Date: Tue, 7 May 2024 07:14:59 +0200 Subject: [PATCH] fixed missing docstring --- PQAnalysis/utils/custom_logging.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PQAnalysis/utils/custom_logging.py b/PQAnalysis/utils/custom_logging.py index 5804fc2d..3f30a5c9 100644 --- a/PQAnalysis/utils/custom_logging.py +++ b/PQAnalysis/utils/custom_logging.py @@ -1,5 +1,6 @@ """ -A module containing custom logging classes and functions, that are used in the PQAnalysis package. +A module containing custom logging classes and functions, +that are used in the PQAnalysis package. """ from __future__ import annotations @@ -165,6 +166,9 @@ def _log(self, # pylint: disable=arguments-differ raise exception(msg).with_traceback(back_tb) def exception_hook(exc_type, exc_value, exc_traceback): + """ + A custom exception hook that ignores the CustomLoggerException. + """ if exc_type != CustomLoggerException: sys.__excepthook__(exc_type, exc_value, exc_traceback)