mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] more debug output
This commit is contained in:
parent
d15ca90eed
commit
249994785f
1 changed files with 2 additions and 1 deletions
|
@ -799,7 +799,8 @@ def _process_regen_conf(system_conf, new_conf=None, save=True):
|
|||
shutil.copyfile(new_conf, system_conf)
|
||||
logger.info(m18n.n('service_conf_file_updated',
|
||||
conf=system_conf))
|
||||
except:
|
||||
except Exception as e:
|
||||
logger.warning("Exception while trying to regenerate conf '%s': %s", system_conf, e, exc_info=1)
|
||||
if not new_conf and os.path.exists(system_conf):
|
||||
logger.warning(m18n.n('service_conf_file_remove_failed',
|
||||
conf=system_conf),
|
||||
|
|
Loading…
Add table
Reference in a new issue