diff --git a/proxy_scraper_checker/__main__.py b/proxy_scraper_checker/__main__.py index 324f8f12b..ae3b93caf 100644 --- a/proxy_scraper_checker/__main__.py +++ b/proxy_scraper_checker/__main__.py @@ -28,7 +28,9 @@ def set_event_loop_policy() -> None: def configure_logging(console: Console, *, debug: bool) -> None: - rich.traceback.install(console=console) + rich.traceback.install( + console=console, width=None, extra_lines=0, word_wrap=True + ) logging.basicConfig( level=logging.DEBUG if debug else logging.INFO, format="%(message)s", @@ -39,6 +41,7 @@ def configure_logging(console: Console, *, debug: bool) -> None: omit_repeated_times=False, show_path=False, rich_tracebacks=True, + tracebacks_extra_lines=0, ), ), )