mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Print string error of MoulinetteError in hook_callback
This commit is contained in:
parent
e7786064fa
commit
f09ab43eb8
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ def hook_callback(action, hooks=[], args=None, no_trace=False, chdir=None,
|
|||
no_trace=no_trace, raise_on_error=True)
|
||||
except MoulinetteError as e:
|
||||
state = 'failed'
|
||||
logger.error(str(e))
|
||||
logger.error(e.strerror, exc_info=1)
|
||||
post_callback(name=name, priority=priority, path=path,
|
||||
succeed=False)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue