Use exc_info_on_loglevel instead of exc_info

This commit is contained in:
Pedro Algarvio 2014-08-10 03:59:06 +01:00
parent c9264a6a49
commit 1da2987e74

View File

@ -145,7 +145,7 @@ def create(vm_):
vm_['name']
),
# Show the traceback if the debug logging level is enabled
exc_info=log.isEnabledFor(logging.DEBUG)
exc_info_on_loglevel=logging.DEBUG
)
return False