From d63dceb3d78192f52168d86dc3ca0be451778f41 Mon Sep 17 00:00:00 2001 From: Dramelac Date: Mon, 9 Sep 2024 11:35:02 +0200 Subject: [PATCH] Add libs to ignore in stacktrace Signed-off-by: Dramelac --- exegol/manager/ExegolController.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/exegol/manager/ExegolController.py b/exegol/manager/ExegolController.py index 3c90ca4f..09163f3a 100644 --- a/exegol/manager/ExegolController.py +++ b/exegol/manager/ExegolController.py @@ -1,9 +1,11 @@ +import http import logging try: import docker - import requests import git + import requests + import urllib3 from exegol.utils.ExeLog import logger, ExeLog, console from exegol.utils.DockerUtils import DockerUtils @@ -83,5 +85,5 @@ def main(): logger.critical(f"A critical error occurred while running this git command: {' '.join(git_error.command)}") except Exception: print_exception_banner() - console.print_exception(show_locals=True, suppress=[docker, requests, git]) + console.print_exception(show_locals=True, suppress=[docker, requests, git, urllib3, http]) exit(1)