Don't include the same traceback twice.
@@ -97,7 +97,7 @@ def setup(service, config, setup_db=True, register_mq_exchanges=True,
tb_msg = traceback.format_exc()
if 'log.setLevel' in tb_msg:
msg = 'Invalid log level selected. Log level names need to be all uppercase.'
- msg += '\n\n' + tb_msg
+ msg += '\n\n' + getattr(e, 'message', str(e))
raise KeyError(msg)
else:
raise e
