From 24ff132f933d825b0bf856440fec10596a69571d Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Sat, 21 Dec 2024 18:21:56 -0500 Subject: [PATCH] general: remove unspecified exception handling (#3035) --- archinstall/lib/general.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index c0d13645..df8bba51 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -321,10 +321,6 @@ class SysCommandWorker: except (PermissionError, FileNotFoundError): # If history_logfile does not exist, ignore the error pass - except Exception as e: - exception_type = type(e).__name__ - error(f"Unexpected {exception_type} occurred in {self.cmd}: {e}") - raise e if storage.get('arguments', {}).get('debug'): debug(f"Executing: {self.cmd}")