M bem/bem_cli.py => bem/bem_cli.py +1 -0
@@ 103,6 103,7 @@ def bem_cli():
try:
bem_engine.execute_command(config, args.command)
except Exception as e:
+ bem_util.log_exception(e)
if 'executable file not found in $PATH": unknown' in str(e):
logging.error("command '{}' not found".format(' '.join(args.command)))
else:
M bem/bem_util.py => bem/bem_util.py +0 -1
@@ 64,7 64,6 @@ def setup_logging(level="INFO"):
def log_exception(e):
- logging.error("Exception: {}".format(e))
logging.debug("".join(traceback.format_tb(e.__traceback__)))