mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Update for CalledProcessError * logger
This commit is contained in:
parent
0d97f21cec
commit
40ae665272
1 changed files with 3 additions and 3 deletions
|
@ -164,10 +164,10 @@ class Utilities(Configs):
|
|||
except subprocess.CalledProcessError as error:
|
||||
logger = logging.getLogger(LoggingConfig.date_time)
|
||||
logger.exception(
|
||||
f'{self.__class__.__name__}'
|
||||
f'{self.__class__.process.__name__}'
|
||||
f'{self.__class__.__name__}: '
|
||||
f'{self.__class__.process.__name__}: '
|
||||
f'{error}'
|
||||
)
|
||||
self.errors.raise_error_message(str(error), exit_status=20)
|
||||
except KeyboardInterrupt:
|
||||
raise SystemExit(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue