Skip to content

Commit 0b4275a

Browse files
committed
general: remove unspecified exception handling
1 parent 9b5fd6b commit 0b4275a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

archinstall/lib/general.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,6 @@ def execute(self) -> bool:
321321
except (PermissionError, FileNotFoundError):
322322
# If history_logfile does not exist, ignore the error
323323
pass
324-
except Exception as e:
325-
exception_type = type(e).__name__
326-
error(f"Unexpected {exception_type} occurred in {self.cmd}: {e}")
327-
raise e
328324

329325
if storage.get('arguments', {}).get('debug'):
330326
debug(f"Executing: {self.cmd}")

0 commit comments

Comments
 (0)