Skip to content

Commit 1c88132

Browse files
committed
Make the exception log go away if shell verbose mode is set
Signed-off-by: Mic Bowman <mic.bowman@intel.com>
1 parent 14b9c2e commit 1c88132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/pdo/client/builder/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,5 +209,5 @@ def run_shell_command(command_name, module_name) :
209209
command(state, bindings, args)
210210
except Exception as e :
211211
builder_command_base.display_error("Command failed: {}".format(str(e)))
212-
logger.exception(e)
212+
if builder_command_base.verbose: logger.exception(e)
213213
sys.exit(-1)

0 commit comments

Comments
 (0)