diff options
| author | Scott Gasch <[email protected]> | 2022-08-18 16:54:36 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-08-18 16:54:36 -0700 |
| commit | 8f8cb3032e0593e8e95ba1b54ca425573540ad7b (patch) | |
| tree | 75b406fcf6f6249d9ef98985bc5806851659abb0 | |
| parent | 842dfb55d07d323f92918a28d7e059d3ab6eed56 (diff) | |
Remove unnecessary / stray debugging exception dumps.
| -rw-r--r-- | text_utils.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/text_utils.py b/text_utils.py index 890bc63..39b8fe3 100644 --- a/text_utils.py +++ b/text_utils.py @@ -50,8 +50,7 @@ def get_console_rows_columns() -> RowsColumns: "stty size", timeout_seconds=1.0, ).split() - except Exception as e: - logger.exception(e) + except Exception: rows = None cols = None @@ -62,8 +61,7 @@ def get_console_rows_columns() -> RowsColumns: "tput rows", timeout_seconds=1.0, ) - except Exception as e: - logger.exception(e) + except Exception: rows = None if cols is None: @@ -73,8 +71,7 @@ def get_console_rows_columns() -> RowsColumns: "tput cols", timeout_seconds=1.0, ) - except Exception as e: - logger.exception(e) + except Exception: cols = None if not rows or not cols: |
