general: remove unspecified exception handling (#3035)

This commit is contained in:
codefiles 2024-12-21 18:21:56 -05:00 committed by GitHub
parent c978c841de
commit 24ff132f93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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}")