[trigger] Les %s sont parfois mieux quand on loggue.

This commit is contained in:
Pierre-Elliott Bécue 2014-07-14 04:01:17 +02:00
parent 2a4516fc17
commit ccaf431202
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ for config_service in trigger_config.all_services:
try:
services.append(importlib.import_module("gestion.trigger.services.%s" % (config_service,)))
except Exception as e:
logger.critical("Fatal : import of %r failed, see following traceback. %r", config_service, traceback.format_exc())
logger.critical("Fatal : import of %s failed, see following traceback. %s", config_service, traceback.format_exc())
class EventProducer(cmb.BasicProducer):
"""