Added logging of what caused the exception

This commit is contained in:
Adolfo Gómez García 2015-02-23 08:35:26 +01:00
parent c075ae5a9c
commit 40ba837f70

View File

@ -58,4 +58,4 @@ class Command(BaseCommand):
if Config.update(mod, name, value) is False: # If not exists, try to store value without any special parameters if Config.update(mod, name, value) is False: # If not exists, try to store value without any special parameters
Config.section(mod).value(name, value).get() Config.section(mod).value(name, value).get()
except Exception: except Exception:
logger.exception("Error") logger.exception('Exception processing {}'.format(args))