exception() is a helper that logs a traceback at the ERROR
level. Since the stdout logs at INFO the traceback was going to
both the log file and stdout. We really only want it in the debug
log.
https://fedorahosted.org/ipsilon/ticket/143
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
else:
install(fplugins, opts)
except Exception, e: # pylint: disable=broad-except
else:
install(fplugins, opts)
except Exception, e: # pylint: disable=broad-except
+ logger.debug(e, exc_info=1)
+
if 'uninstall' in opts and opts['uninstall'] is True:
logger.info('Uninstallation aborted.')
else:
if 'uninstall' in opts and opts['uninstall'] is True:
logger.info('Uninstallation aborted.')
else: