Adjust logging for tests

This commit is contained in:
thePR0M3TH3AN committed 2025-07-01 15:16:01 -04:00
1 parent 74df5f654c
commit d7ea493663
6 files changed
+42 -17

No files matched your search

+7 -3
View File
@@ -3,12 +3,16 @@
import logging
import traceback
logger = logging.getLogger(__name__)
try:
from .bip85 import BIP85
logging.info("BIP85 module imported successfully.")
if logger.isEnabledFor(logging.DEBUG):
logger.info("BIP85 module imported successfully.")
except Exception as e:
logging.error(f"Failed to import BIP85 module: {e}")
logging.error(traceback.format_exc()) # Log full traceback
if logger.isEnabledFor(logging.DEBUG):
logger.error(f"Failed to import BIP85 module: {e}")
logger.error(traceback.format_exc()) # Log full traceback
__all__ = ["BIP85"]