mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add traceback for easier debugging
This commit is contained in:
parent
aafef0a8ef
commit
06e02de548
1 changed files with 1 additions and 2 deletions
|
@ -109,8 +109,7 @@ def diagnosis_run(categories=[], force=False, args=None):
|
|||
hook_exec(path, args=args, env=None)
|
||||
successes.append(category)
|
||||
except Exception as e:
|
||||
# FIXME / TODO : add stacktrace here ?
|
||||
logger.error("Diagnosis failed for category '%s' : %s" % (category, str(e))) # FIXME : i18n
|
||||
logger.error("Diagnosis failed for category '%s' : %s" % (category, str(e)), exc_info=True) # FIXME : i18n
|
||||
|
||||
return diagnosis_show(successes)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue